Current Path : /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 : //usr/opt/mysql57/mysql-test/suite/binlog/r/binlog_xa_rollback_failure.result |
CREATE TABLE t1(id INT PRIMARY KEY); # # 1) Prepare XA transaction with some sample data with # XA global Trx id '1'. # XA START '1'; INSERT INTO t1 VALUES (1); XA END '1'; XA PREPARE '1'; # # 2) Try to do 'XA ROLLBACK' with XA global Trx id '2' and check that # it fails. # XA ROLLBACK '2'; ERROR XAE07: XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state # # 3) Check that nothing is written to binary log. # include/assert.inc [Nothing should be written in binlog for failed XA ROLLBACK.] # # 4) Cleanup. # XA COMMIT '1'; DROP TABLE t1;