1
include/master-slave.inc
6
create table t1 (f text) engine=innodb;
7
SET DEBUG_SYNC = 'at_purge_logs_before_date WAIT_FOR rotated';
8
insert into t1 set f=repeat('a', 4096);
9
*** there must be two logs in the list ***
14
insert into t1 set f=repeat('b', 4096);
15
*** there must be three logs in the list ***
21
SET DEBUG_SYNC = 'now SIGNAL rotated';
22
SET DEBUG_SYNC = 'RESET';
23
SET DEBUG_SYNC = 'RESET';
24
SET DEBUG_SYNC = 'at_purge_logs_before_date WAIT_FOR rotated';
25
insert into t1 set f=repeat('b', 4096);
26
SET DEBUG_SYNC = 'now SIGNAL rotated';
27
SET DEBUG_SYNC = 'RESET';
28
SET DEBUG_SYNC = 'RESET';