mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
918519ea1e
mysql-test/r/alter_table.result: Updated results after merge mysql-test/r/drop_temp_table.result: Updated results after merge mysql-test/r/union.result: Updated results after merge sql/sql_db.cc: optimization: Use my_stat() instead of my_dir() to test if directory exists sql/sql_union.cc: Fixed error in merge
18 lines
803 B
Text
18 lines
803 B
Text
reset master;
|
|
create database `drop-temp+table-test`;
|
|
use `drop-temp+table-test`;
|
|
create temporary table `table:name` (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 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 IF EXISTS `drop-temp+table-test`.`table:name`
|
|
master-bin.000001 375 Query 1 375 use `drop-temp+table-test`; DO RELEASE_LOCK("a")
|
|
drop database `drop-temp+table-test`;
|