2003-09-28 18:31:49 +02:00
|
|
|
reset master;
|
|
|
|
create database `drop-temp+table-test`;
|
|
|
|
use `drop-temp+table-test`;
|
|
|
|
create temporary table `table:name` (a int);
|
2003-09-29 22:56:31 +02:00
|
|
|
select get_lock("a",10);
|
|
|
|
get_lock("a",10)
|
|
|
|
1
|
|
|
|
select get_lock("a",10);
|
|
|
|
get_lock("a",10)
|
|
|
|
1
|
2003-09-28 18:31:49 +02:00
|
|
|
show binlog events;
|
|
|
|
Log_name Pos Event_type Server_id Orig_log_pos Info
|
2003-10-08 11:01:58 +02:00
|
|
|
master-bin.000001 4 Start 1 4 Server ver: VERSION, Binlog ver: 3
|
|
|
|
master-bin.000001 79 Query 1 79 use `test`; create database `drop-temp+table-test`
|
|
|
|
master-bin.000001 152 Query 1 152 use `drop-temp+table-test`; create temporary table `table:name` (a int)
|
|
|
|
master-bin.000001 246 Query 1 246 use `drop-temp+table-test`; DROP /*!40005 TEMPORARY */ TABLE `drop-temp+table-test`.`table:name`
|
|
|
|
master-bin.000001 365 Query 1 365 use `drop-temp+table-test`; DO RELEASE_LOCK("a")
|
2003-09-28 18:31:49 +02:00
|
|
|
drop database `drop-temp+table-test`;
|