1
# Testing if "flush logs" command bouncing resulting in logs created in a loop
2
# in case of bi-directional replication
3
-- source include/master-slave.inc
6
# Start replication master -> slave
12
--replace_result $MASTER_MYPORT MASTER_PORT
13
eval change master to master_host='127.0.0.1',master_user='root',
14
master_password='',master_port=$MASTER_MYPORT;
18
# Start replication slave -> master
24
--replace_result $SLAVE_MYPORT SLAVE_PORT
25
eval change master to master_host='127.0.0.1',master_user='root',
26
master_password='',master_port=$SLAVE_MYPORT;
30
# Wait for start of slave IO and SQL threads
32
let $result_pattern= '%127.0.0.1%root%slave-bin.000001%slave-bin.000001%Yes%Yes%0%0%None%';
33
-- source $MYSQL_TEST_DIR/suite/engines/funcs/t/wait_slave_status.inc
42
# Show status of slave
44
--replace_result $SLAVE_MYPORT SLAVE_PORT
45
--replace_column 1 # 8 # 9 # 16 # 23 # 33 #