mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
26 lines
636 B
Text
26 lines
636 B
Text
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
|