| 1 |
[connection conn1] |
| 2 |
CREATE TABLE t1 (c1 INT) ENGINE = MyISAM; |
| 3 |
SET DEBUG_SYNC= 'bgc_between_flush_and_sync SIGNAL |
| 4 |
holding_between_flush_and_sync WAIT_FOR continue_between_flush_and_sync'; |
| 5 |
INSERT INTO t1 VALUES (1); |
| 6 |
[connection conn2] |
| 7 |
SET DEBUG_SYNC= 'now WAIT_FOR holding_between_flush_and_sync'; |
| 8 |
SET DEBUG_SYNC= 'binlog_rotate_between_close_and_open SIGNAL |
| 9 |
holding_between_close_and_open WAIT_FOR continue_rotate_binlog_file'; |
| 10 |
FLUSH LOGS; |
| 11 |
[connection default] |
| 12 |
SET DEBUG_SYNC= 'now WAIT_FOR holding_between_close_and_open'; |
| 13 |
SET DEBUG_SYNC= 'now SIGNAL continue_between_flush_and_sync'; |
| 14 |
[connection conn1] |
| 15 |
[connection default] |
| 16 |
SET DEBUG_SYNC = 'now SIGNAL continue_rotate_binlog_file'; |
| 17 |
[connection conn2] |
| 18 |
[connection default] |
| 19 |
DROP TABLE t1; |
| 20 |
SET DEBUG_SYNC= 'RESET'; |