1
include/master-slave.inc
3
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4
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.
6
CHANGE MASTER TO MASTER_HEARTBEAT_PERIOD=5;
7
SET @save_old_slave_net_timeout=@@global.slave_net_timeout;
8
SET @@global.slave_net_timeout=10;
9
include/start_slave.inc
10
SET @save_debug=@@global.debug;
11
SET GLOBAL DEBUG='+d,inject_2sec_sleep_when_skipping_an_event';
12
CREATE TABLE t1(i INT) engine=innodb;
13
INSERT INTO t1 VALUES (1);
14
include/sync_slave_sql_with_master.inc
15
include/stop_slave.inc
16
include/stop_dump_threads.inc
17
SET GLOBAL DEBUG='+d,hold_dump_thread_inside_inner_loop';
19
include/start_slave.inc
20
SET DEBUG_SYNC='now WAIT_FOR signal_inside_inner_loop';
21
include/stop_slave.inc
22
SET GLOBAL DEBUG='-d,hold_dump_thread_inside_inner_loop';
23
include/start_slave.inc
24
SET DEBUG_SYNC='now signal signal_continue';
25
include/sync_slave_sql_with_master.inc
26
SET GLOBAL DEBUG=@save_debug;
27
SET @@global.slave_net_timeout=@save_old_slave_net_timeout;