1 # Insert blackhole slave into regular replication chain
2 # We hide any output below due using untouched result files of rpl suite
9 # Connect blackhole slave to master.
10 connect (blackhole_slave,127.0.0.1,root,,
test,$BHS_MYPORT,);
11 connection blackhole_slave;
12 source include/have_blackhole.inc;
13 SET storage_engine=BLACKHOLE;
15 source include/wait_for_slave_to_stop.inc;
17 eval CHANGE MASTER TO MASTER_USER=
'root', MASTER_CONNECT_RETRY=1, MASTER_HOST=
'127.0.0.1', MASTER_PORT=$MASTER_MYPORT;
19 source include/wait_for_slave_to_start.inc;
21 # Stop slave and reconnect to blackhole slave
25 eval CHANGE MASTER TO MASTER_USER=
'root', MASTER_CONNECT_RETRY=1, MASTER_HOST=
'127.0.0.1', MASTER_PORT=$BHS_MYPORT;
27 source include/wait_for_slave_to_start.inc;