include/master-slave.inc [connection master] **** On Master **** CREATE TABLE t1 (a int); CREATE TABLE t2 (a int); CREATE TEMPORARY TABLE t2 (a int, b int); SHOW TABLES; Tables_in_test t1 t2 **** On Slave **** SHOW TABLES; Tables_in_test t1 t2 **** On Master **** DROP TABLE t2; SHOW TABLES; Tables_in_test t1 t2 **** On Slave **** SHOW TABLES; Tables_in_test t1 t2 **** On Master **** CREATE TEMPORARY TABLE t2 (a int, b int); SHOW TABLES; Tables_in_test t1 t2 **** On Slave **** SHOW TABLES; Tables_in_test t1 t2 **** On Master **** DROP TABLE t1,t2; show binlog events from ; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (a int) master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (a int) master-bin.000001 # Query # # use `test`; DROP TABLE `t1` /* generated by server */ SHOW TABLES; Tables_in_test t2 **** On Slave **** SHOW TABLES; Tables_in_test t2 include/rpl_end.inc