diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-12-16 13:02:21 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-12-16 13:02:21 +0100 |
commit | d28d3ba40dc8ebef87199a2567ec96e9c5d744e2 (patch) | |
tree | c6b9ab1d8193fa2a26c5e376d43e536abd3a47ce /mysql-test/suite/rpl/r/rpl_gtid_crash_myisam.result | |
parent | ff485d2dc4d5adaf5eef0ccd03ce62adf3bd30b3 (diff) | |
parent | 6bf10fac445d73fb796d4863612c87bff5f28b66 (diff) | |
download | mariadb-git-d28d3ba40dc8ebef87199a2567ec96e9c5d744e2.tar.gz |
10.0-base merge
Diffstat (limited to 'mysql-test/suite/rpl/r/rpl_gtid_crash_myisam.result')
-rw-r--r-- | mysql-test/suite/rpl/r/rpl_gtid_crash_myisam.result | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mysql-test/suite/rpl/r/rpl_gtid_crash_myisam.result b/mysql-test/suite/rpl/r/rpl_gtid_crash_myisam.result new file mode 100644 index 00000000000..55465d7e81b --- /dev/null +++ b/mysql-test/suite/rpl/r/rpl_gtid_crash_myisam.result @@ -0,0 +1,24 @@ +include/rpl_init.inc [topology=1->2] +*** Test crashing master with InnoDB disabled, the binlog gtid state should still be correctly recovered. *** +CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=MyISAM; +include/stop_slave.inc +CHANGE MASTER TO master_use_gtid=slave_pos; +include/start_slave.inc +INSERT INTO t1 VALUES (1); +INSERT INTO t1 VALUES (2); +SELECT * FROM t1 ORDER BY a; +a +1 +2 +FLUSH TABLES; +SET SESSION debug_dbug="+d,crash_dispatch_command_before"; +SELECT 1; +Got one of the listed errors +INSERT INTO t1 VALUES (3); +SELECT * FROM t1 ORDER BY a; +a +1 +2 +3 +DROP TABLE t1; +include/rpl_end.inc |