1include/rpl_init.inc [topology=1->2]
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.
5include/rpl_default_connections.inc
6CALL mtr.add_suppression("The slave coordinator and worker threads are stopped");
7SET @save.innodb_lock_wait_timeout=@@GLOBAL.innodb_lock_wait_timeout;
8SET @@global.innodb_lock_wait_timeout=1;
9SET @save.slave_transaction_retries= @@global.slave_transaction_retries;
10SET @@global.slave_transaction_retries= 0;
11SET @save.max_relay_log_size= @@global.max_relay_log_size;
12SET @@global.max_relay_log_size=4096;
13include/stop_slave_sql.inc
14include/start_slave_sql.inc
15include/assert.inc [the max size of relay log must be 4096]
16CREATE DATABASE db4;
17CREATE TABLE db4.t (a INT AUTO_INCREMENT PRIMARY KEY, b TEXT) ENGINE=innodb;
18CREATE DATABASE db3;
19CREATE TABLE db3.t (a INT AUTO_INCREMENT PRIMARY KEY, b TEXT) ENGINE=innodb;
20CREATE DATABASE db2;
21CREATE TABLE db2.t (a INT AUTO_INCREMENT PRIMARY KEY, b TEXT) ENGINE=innodb;
22CREATE DATABASE db1;
23CREATE TABLE db1.t (a INT AUTO_INCREMENT PRIMARY KEY, b TEXT) ENGINE=innodb;
24CREATE TABLE t1m (a INT) ENGINE=myisam;
25include/sync_slave_sql_with_master.inc [FOR CHANNEL 'channel_1']
26LOCK TABLES t1m WRITE;
27include/wait_for_slave_sql_error.inc [errno=1205 FOR CHANNEL 'channel_1']
28include/wait_for_slave_sql_to_stop.inc [FOR CHANNEL 'channel_1']
29include/start_slave_sql.inc [FOR CHANNEL 'channel_1']
30include/wait_for_slave_sql_error.inc [errno=1205 FOR CHANNEL 'channel_1']
31include/wait_for_slave_sql_to_stop.inc [FOR CHANNEL 'channel_1']
32include/start_slave_sql.inc [FOR CHANNEL 'channel_1']
33include/wait_for_slave_sql_error.inc [errno=1205 FOR CHANNEL 'channel_1']
34include/rpl_restart_server.inc [server_number=2]
35include/wait_for_slave_sql_to_stop.inc [FOR CHANNEL 'channel_1']
36include/start_slave_sql.inc [FOR CHANNEL 'channel_1']
37include/wait_for_slave_sql_error.inc [errno=1205 FOR CHANNEL 'channel_1']
38include/rpl_restart_server.inc [server_number=2]
39include/wait_for_slave_sql_to_stop.inc [FOR CHANNEL 'channel_1']
40include/start_slave_sql.inc [FOR CHANNEL 'channel_1']
41UNLOCK TABLES;
42include/sync_slave_sql_with_master.inc [FOR CHANNEL 'channel_1']
43DROP TABLE t1m;
44DROP DATABASE db4;
45DROP DATABASE db3;
46DROP DATABASE db2;
47DROP DATABASE db1;
48include/sync_slave_sql_with_master.inc [FOR CHANNEL 'channel_1']
49SET @@global.innodb_lock_wait_timeout=@save.innodb_lock_wait_timeout;
50SET @@global.slave_transaction_retries= @save.slave_transaction_retries;
51SET @@global.max_relay_log_size= @save.max_relay_log_size;
52include/rpl_end.inc
53RESET SLAVE ALL FOR CHANNEL 'channel_1';
54