summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000013.test
blob: ec015bbe357f92a92181a40ed5a7cbbdf99e1cfc (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
25
source include/master-slave.inc;
connection master;
drop table if exists x;
create table x(n int);
create temporary table t(n int);
insert into t values(1),(2),(3);
insert into x select * from t;
connection master1;
create temporary table t (n int);
insert into t values (4),(5);
insert into x select * from t;
disconnect master;
connection master1;
insert into x values(6);
disconnect master1;
connection slave;
let $1=12;
while ($1)
{
 !slave start;
 sleep 0.2;
 dec $1;
}
@r/rpl000013.result select * from x;
@r/rpl000013.status.result show status like 'Slave_open_temp_tables';