include/master-slave.inc
Warnings:
Note	####	Sending passwords in plain text without SSL/TLS is extremely insecure.
Note	####	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.
[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
include/sync_slave_sql_with_master.inc
**** On Slave ****
SHOW TABLES;
Tables_in_test
t1
t2
**** On Master ****
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
t1
t2
include/sync_slave_sql_with_master.inc
**** 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
include/sync_slave_sql_with_master.inc
**** On Slave ****
SHOW TABLES;
Tables_in_test
t1
t2
**** On Master ****
DROP TABLE t1,t2;
include/show_binlog_events.inc
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 TEMPORARY TABLE IF EXISTS `t2` /* generated by server */
master-bin.000001	#	Query	#	#	use `test`; DROP TEMPORARY TABLE IF EXISTS `t2` /* generated by server */
master-bin.000001	#	Query	#	#	use `test`; DROP TABLE `t1` /* generated by server */
SHOW TABLES;
Tables_in_test
t2
include/sync_slave_sql_with_master.inc
**** On Slave ****
SHOW TABLES;
Tables_in_test
t2
include/sync_slave_sql_with_master.inc
include/rpl_end.inc
