| 1 |
RESET MASTER; |
| 2 |
CREATE TABLE t (a INT); |
| 3 |
include/stop_mysqld.inc [server 1] |
| 4 |
# restart: --binlog-expire-logs-seconds=1 |
| 5 |
include/assert.inc [GTID_PURGED is consistent] |
| 6 |
include/assert.inc [We have 1 binlog file] |
| 7 |
DROP TABLE t; |
| 8 |
RESET MASTER; |
| 9 |
CREATE TABLE t (a INT); |
| 10 |
FLUSH LOGS; |
| 11 |
INSERT INTO t VALUES (1), (2), (3); |
| 12 |
include/stop_mysqld.inc [server 1] |
| 13 |
# restart: --binlog-expire-logs-seconds=5 |
| 14 |
include/assert.inc [GTID_PURGED is consistent] |
| 15 |
include/assert.inc [We have 1 binlog file] |
| 16 |
DROP TABLE t; |
| 17 |
SET GLOBAL binlog_expire_logs_seconds = SAVED_EXPIRE_SECONDS; |