Current Path : /home/usr.opt/mysql57/mysql-test/suite/binlog/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/binlog/r/binlog_gtids_table_gcov.result |
RESET MASTER; call mtr.add_suppression("Failed to save the set of Global Transaction " "Identifiers of the last binary log into the " "mysql.gtid_executed table while the server was " "shutting down. The next server restart will make " "another attempt to save Global Transaction " "Identifiers into the table."); SET @debug_save= @@GLOBAL.DEBUG; CREATE TABLE t1 (a INT) ENGINE=InnoDB; SET @@GLOBAL.DEBUG= "+d,simulate_err_on_write_gtid_into_table"; # restart # # Verify that we can get correct gtid sets after server restarts # even if we encounter an error on writing gtids into table on # server shutdown. # include/assert.inc [committed gtid set is MASTER_UUID:1-2] SELECT * FROM mysql.gtid_executed; source_uuid interval_start interval_end MASTER_UUID 1 2 SET GLOBAL DEBUG= @debug_save; SET GLOBAL binlog_error_action= IGNORE_ERROR; call mtr.add_suppression(".* Turning logging off for the whole duration of the " "MySQL server process. To turn it on again: fix the " "cause, shutdown the MySQL server and restart it."); INSERT INTO t1 VALUES(1); SET SESSION debug="+d,simulate_err_on_write_gtid_into_table"; FLUSH LOGS; ERROR HY000: Got error -1 from storage engine SET SESSION debug="-d,simulate_err_on_write_gtid_into_table"; # # Verify that GTIDs are not saved into gtid_executed table if we # encounter an error on writing gtids into table on binlog rotation. # SELECT * FROM mysql.gtid_executed; source_uuid interval_start interval_end MASTER_UUID 1 2 include/assert.inc [committed gtid set is MASTER_UUID:1-4] SET GLOBAL binlog_error_action= ABORT_SERVER; DROP TABLE t1;