Debian Codegraph @

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

raw
1 CREATE TABLE t1(c1 INT) ENGINE= InnoDB;
2 # Crash right after flushing InnoDB redo log
3 SET SESSION DEBUG="+d,crash_after_flush_engine_log";
4 BEGIN;
5 INSERT INTO t1 VALUES(1);
6 COMMIT;
7 ERROR HY000: Lost connection to MySQL server during query
8 # Restart the master server
9 #
10 # Verify that a transaction can not be recovered during server
11 # recovery from a crash, which happened after flushing it to
12 # InnoDB redo log and before flushing it to binary log.
13 #
14 include/assert.inc [Table t1 must not contain 1]
15 # Crash right after flushing binary log
16 SET SESSION DEBUG="+d,crash_after_flush_binlog";
17 BEGIN;
18 INSERT INTO t1 VALUES(2);
19 COMMIT;
20 ERROR HY000: Lost connection to MySQL server during query
21 # Restart the master server
22 #
23 # Verify that a transaction can be recovered during server
24 # recovery from a crash, which happened after flushing it
25 # to binary log.
26 #
27 include/assert.inc [Table t1 must contain 2]
28 DROP TABLE t1;