3
drop database if exists `drop-temp+table-test`;
6
connect (con1,localhost,root,,);
7
connect (con2,localhost,root,,);
10
create database `drop-temp+table-test`;
11
use `drop-temp+table-test`;
12
create temporary table shortn1 (a int);
13
create temporary table `table:name` (a int);
14
create temporary table shortn2 (a int);
15
select get_lock("a",10);
19
# We want to SHOW BINLOG EVENTS, to know what was logged. But there is no
20
# guarantee that logging of the terminated con1 has been done yet.
21
# To be sure that logging has been done, we use a user lock.
22
select get_lock("a",10);
23
let $VERSION=`select version()`;
24
source include/show_binlog_events.inc;
25
drop database `drop-temp+table-test`;