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]
CHANGE MASTER TO MASTER_HEARTBEAT_PERIOD=5;
SET @save_old_slave_net_timeout=@@global.slave_net_timeout;
SET @@global.slave_net_timeout=10;
include/start_slave.inc
SET @save_debug=@@global.debug;
SET GLOBAL DEBUG='+d,inject_2sec_sleep_when_skipping_an_event';
CREATE TABLE t1(i INT) engine=innodb;
INSERT INTO t1 VALUES (1);
include/sync_slave_sql_with_master.inc
include/stop_slave.inc
include/stop_dump_threads.inc
SET GLOBAL DEBUG='+d,hold_dump_thread_inside_inner_loop';
DROP TABLE t1;
include/start_slave.inc
SET DEBUG_SYNC='now WAIT_FOR signal_inside_inner_loop';
include/stop_slave.inc
SET GLOBAL DEBUG='-d,hold_dump_thread_inside_inner_loop';
include/start_slave.inc
SET DEBUG_SYNC='now signal signal_continue';
include/sync_slave_sql_with_master.inc
SET GLOBAL DEBUG=@save_debug;
SET @@global.slave_net_timeout=@save_old_slave_net_timeout;
include/rpl_end.inc
