blob: 35cd91d795bf4fabeda9b286fab7231010227ca2 (
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
26
|
include/master-slave.inc
[connection master]
create temporary table t1 (n int);
insert into t1 values(1);
connection slave;
show status like 'Slave_open_temp_tables';
Variable_name Value
Slave_open_temp_tables 1
connection master;
delete from t1;
connection slave;
show status like 'Slave_open_temp_tables';
Variable_name Value
Slave_open_temp_tables 1
connection master;
truncate t1;
connection slave;
show status like 'Slave_open_temp_tables';
Variable_name Value
Slave_open_temp_tables 1
disconnect master;
connection slave;
show status like 'Slave_open_temp_tables';
Variable_name Value
Slave_open_temp_tables 0
include/rpl_end.inc
|