drop_temp_table.result
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:1k
源码类别:
MySQL数据库
开发平台:
Visual C++
- reset master;
- create database `drop-temp+table-test`;
- use `drop-temp+table-test`;
- create temporary table shortn1 (a int);
- create temporary table `table:name` (a int);
- create temporary table shortn2 (a int);
- select get_lock("a",10);
- get_lock("a",10)
- 1
- select get_lock("a",10);
- get_lock("a",10)
- 1
- show binlog events;
- Log_name Pos Event_type Server_id Orig_log_pos Info
- master-bin.000001 # Start 1 # Server ver: VERSION, Binlog ver: 3
- master-bin.000001 # Query 1 # create database `drop-temp+table-test`
- master-bin.000001 # Query 1 # use `drop-temp+table-test`; create temporary table shortn1 (a int)
- master-bin.000001 # Query 1 # use `drop-temp+table-test`; create temporary table `table:name` (a int)
- master-bin.000001 # Query 1 # use `drop-temp+table-test`; create temporary table shortn2 (a int)
- master-bin.000001 # Query 1 # use `drop-temp+table-test`; DROP /*!40005 TEMPORARY */ TABLE IF EXISTS `drop-temp+table-test`.`shortn2`,`drop-temp+table-test`.`table:name`,`drop-temp+table-test`.`shortn1`
- master-bin.000001 # Query 1 # use `drop-temp+table-test`; DO RELEASE_LOCK("a")
- drop database `drop-temp+table-test`;