Current Path : /home/usr.opt/mysql57/mysql-test/suite/innodb/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/innodb/r/xa_recovery_debug.result |
# # Bug#20872655 XA ROLLBACK IS NOT CRASH-SAFE # CREATE TABLE t(a INT PRIMARY KEY, b INT UNIQUE) ENGINE=INNODB; XA START 'zombie'; insert into t(a) values (0); update t set b=a; SELECT COUNT(*) FROM t; COUNT(*) 1 XA END 'zombie'; XA PREPARE 'zombie'; SET DEBUG_SYNC='trx_xa_rollback SIGNAL s1 WAIT_FOR s2'; XA ROLLBACK 'zombie'; SET DEBUG_SYNC='now WAIT_FOR s1'; SET GLOBAL innodb_log_checkpoint_now=ON; # Kill and restart XA COMMIT 'zombie'; ERROR XAE04: XAER_NOTA: Unknown XID SELECT COUNT(*) FROM t; COUNT(*) 0 DROP TABLE t;