Debian Codegraph @

mysql-test/suite/binlog/r/binlog_crash_safe_master_checksum.result

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