call mtr.add_suppression("Attempting backtrace"); call mtr.add_suppression("allocated tablespace *., old maximum was 0"); call mtr.add_suppression("Error in Log_event::read_log_event()"); call mtr.add_suppression("Buffered warning: Performance schema disabled"); RESET MASTER; CREATE TABLE t1(a LONGBLOB) ENGINE=INNODB; # Test case5: Inject wrong value of crc for a log event, and # then set DBUG POINT to casue the master crash. BEGIN; INSERT INTO t1 (a) VALUES (REPEAT('a',1)); INSERT INTO t1 (a) VALUES (REPEAT('a',2)); COMMIT; BEGIN; INSERT INTO t1 (a) VALUES (REPEAT('a',3)); COMMIT; ERROR HY000: Lost connection to MySQL server during query # Restart the master server # Test the transaction with a log event injected a wrong crc value # will be trimmed from the crashed binlog file include/show_binlog_events.inc DROP TABLE t1;