summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_drop_temp.test
blob: c22bcbe63d08a07f1309dc575ef717174c2518a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
source include/master-slave.inc;
--disable_warnings
create database if not exists mysqltest;
--enable_warnings

connect (con_temp,127.0.0.1,root,,test,$MASTER_MYPORT,);

connection con_temp;
use mysqltest;
create temporary table mysqltest.t1 (n int);
create temporary table mysqltest.t2 (n int);
select get_lock("con_temp",10);

connection master;
disconnect con_temp;
select get_lock("con_temp",10);
sync_slave_with_master;

connection slave;
show status like 'Slave_open_temp_tables';
connection master;
drop database mysqltest;

# End of 4.1 tests