1include/master-slave.inc 2Warnings: 3Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. 4Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. 5[connection master] 6create temporary table t1 (n int); 7insert into t1 values(1); 8include/sync_slave_sql_with_master.inc 9show status like 'Slave_open_temp_tables'; 10Variable_name Value 11Slave_open_temp_tables 1 12delete from t1; 13include/sync_slave_sql_with_master.inc 14show status like 'Slave_open_temp_tables'; 15Variable_name Value 16Slave_open_temp_tables 1 17truncate t1; 18include/sync_slave_sql_with_master.inc 19show status like 'Slave_open_temp_tables'; 20Variable_name Value 21Slave_open_temp_tables 1 22show status like 'Slave_open_temp_tables'; 23Variable_name Value 24Slave_open_temp_tables 0 25include/rpl_end.inc 26