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;
|
2004-04-28 12:08:54 +02:00
|
|
|
Log_name Pos Event_type Server_id End_log_pos Info
|
|
|
|
master-bin.000001 4 Format_desc 1 95 Server ver: VERSION, Binlog ver: 4
|
2004-12-06 16:15:54 +01:00
|
|
|
master-bin.000001 95 Query 1 206 create database `drop-temp+table-test`
|
|
|
|
master-bin.000001 206 Query 1 322 use `drop-temp+table-test`; create temporary table `table:name` (a int)
|
|
|
|
master-bin.000001 322 Query 1 473 use `drop-temp+table-test`; DROP /*!40005 TEMPORARY */ TABLE IF EXISTS `drop-temp+table-test`.`table:name`
|
|
|
|
master-bin.000001 473 Query 1 566 use `drop-temp+table-test`; DO RELEASE_LOCK("a")
|
2003-09-28 18:31:49 +02:00
|
|
|
drop database `drop-temp+table-test`;
|