Debian Codegraph @

tests/t/t_keep_relay_log_purge.sh

raw symbols SCIP
1 . ./init.shscip-shell source . . `./init.sh`.
2 mysql $S3 -e "set global relay_log_purge=0"
3 mysql $S4 -e "set global relay_log_purge=0"
4 mysql $S1 -e "stop slave io_thread"
5 mysql $M test -e "flush logs"
6 mysql $M test -e "insert into t1 values(2, 200, 'aaaaaa')"
7
8 ./kill_m.sh
9 ./run.sh
10 mysql $S2 test -e "insert into t1 values(10000003, 300, 'bbbaaaaaaa');"
11 check_relay_purge $0 $S1P 1
12 check_relay_purge $0 $S2P 1
13 check_relay_purge $0 $S3P 0
14 check_relay_purge $0 $S4P 0
15
16 ./check $0 3