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_gtid_unknown_xid.result |
CREATE TABLE t2(a INT); SET @@AUTOCOMMIT=0; SET SESSION GTID_NEXT='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee:1'; INSERT INTO t2 VALUES(1); XA ROLLBACK 'xa1'; ERROR XAE04: XAER_NOTA: Unknown XID SET @@AUTOCOMMIT=1; SET @@AUTOCOMMIT=0; SET SESSION GTID_NEXT='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee:2'; INSERT INTO t2 VALUES(2); XA COMMIT 'xa1'; ERROR XAE04: XAER_NOTA: Unknown XID SET @@AUTOCOMMIT=1; XA START 'xa1'; XA END 'xa1'; XA PREPARE 'xa1'; SET @@AUTOCOMMIT=0; SET SESSION GTID_NEXT='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee:3'; INSERT INTO t2 VALUES(3); XA ROLLBACK 'xa1'; ERROR XAE07: XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SET @@AUTOCOMMIT=1; SET @@AUTOCOMMIT=0; SET SESSION GTID_NEXT='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee:4'; INSERT INTO t2 VALUES(4); XA COMMIT 'xa1'; ERROR XAE07: XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SET @@AUTOCOMMIT=1; include/assert.inc [All inserts were committed, XA statements and respective failures, were disregarded] SET SESSION GTID_NEXT='AUTOMATIC'; XA ROLLBACK 'xa1'; include/assert.inc [All XA transactions were cleared] DROP TABLE t2; SET @@AUTOCOMMIT=DEFAULT_AUTOCOMMIT; RESET MASTER;