Debian Codegraph @

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

raw
1 *** Test that binlog GTID index is recovered after a crash.
2 CREATE TABLE t1 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB;
3 Ok
4 1
5 Ok
6 1
7 Ok
8 1
9 SHOW STATUS LIKE 'binlog_gtid_index_%';
10 Variable_name Value
11 Binlog_gtid_index_hit 3
12 Binlog_gtid_index_miss 0
13 *** Crash the server, check that GTID index can be used after restart.
14 SET debug_dbug="d,crash_shutdown";
15 shutdown;
16 ERROR HY000: Lost connection to server during query
17 FLUSH NO_WRITE_TO_BINLOG STATUS;
18 Ok
19 1
20 Ok
21 1
22 Ok
23 1
24 SHOW STATUS LIKE 'binlog_gtid_index_%';
25 Variable_name Value
26 Binlog_gtid_index_hit 3
27 Binlog_gtid_index_miss 0
28 DROP TABLE t1;