Debian Codegraph @

mysql-test/suite/binlog_nogtid/r/binlog_gtid_reset_consistency_violation_on_fail.result

raw
1 # TC1. Test if GTID consistency state is rolled back after failure
2 # ----------------------------------------------------------------
3 SET DEBUG_SYNC='restore_previous_state_after_statement_failed SIGNAL failure';
4 BEGIN;
5 DROP TEMPORARY TABLE t1;
6 ERROR 42S02: Unknown table 'test.t1'
7 SET DEBUG_SYNC='now WAIT_FOR failure';
8 ROLLBACK;
9 # TC2. Test if GTID consistency state is persisted after success
10 # --------------------------------------------------------------
11 SET DEBUG_SYNC='persist_new_state_after_statement_succeeded SIGNAL success';
12 CREATE TEMPORARY TABLE t1 (c INT) ENGINE=InnoDB;
13 SET DEBUG_SYNC='now WAIT_FOR success';
14 DROP TABLE t1;
15 SET DEBUG_SYNC='RESET';