Debian Codegraph @

mysql-test/suite/rpl/r/rpl_rotate_purge_deadlock.result

raw
1 include/master-slave.inc
2 [connection master]
3 connection master;
4 show binary logs;
5 Log_name File_size
6 master-bin.000001 #
7 create table t1 (f text) engine=innodb;
8 SET DEBUG_SYNC = 'at_purge_logs_before_date WAIT_FOR rotated';
9 SET DEBUG_SYNC = 'after_purge_logs_before_date SIGNAL continued';
10 insert into t1 set f=repeat('a', 4096);
11 connection master1;
12 *** there must be two logs in the list ***
13 show binary logs;
14 Log_name File_size
15 master-bin.000001 #
16 master-bin.000002 #
17 insert into t1 set f=repeat('b', 4096);
18 *** there must be three logs in the list ***
19 show binary logs;
20 Log_name File_size
21 master-bin.000001 #
22 master-bin.000002 #
23 master-bin.000003 #
24 SET DEBUG_SYNC = 'now SIGNAL rotated';
25 SET DEBUG_SYNC = 'now WAIT_FOR continued';
26 SET DEBUG_SYNC = 'RESET';
27 connection master;
28 SET DEBUG_SYNC = 'RESET';
29 connection slave;
30 connection master;
31 SET DEBUG_SYNC = 'at_purge_logs_before_date WAIT_FOR rotated';
32 SET DEBUG_SYNC = 'after_purge_logs_before_date SIGNAL continued';
33 insert into t1 set f=repeat('b', 4096);
34 connection master1;
35 SET DEBUG_SYNC = 'now SIGNAL rotated';
36 SET DEBUG_SYNC = 'now WAIT_FOR continued';
37 SET DEBUG_SYNC = 'RESET';
38 connection master;
39 SET DEBUG_SYNC = 'RESET';
40 drop table t1;
41 connection slave;
42 include/rpl_end.inc