Debian Codegraph @

mysql-test/suite/innodb/r/xa_another.result

raw
1 # The specific purpose of this test is to test the
2 # detach at disconnect behavior
3 SET @saved_xa_detach_on_prepare = @@GLOBAL.xa_detach_on_prepare;
4 SET GLOBAL xa_detach_on_prepare = OFF;
5 CREATE TABLE t (id INT PRIMARY KEY);
6 XA START "xa1";
7 INSERT INTO t VALUES (1);
8 XA END "xa1";
9 XA PREPARE "xa1";
10 XA COMMIT "xa1";
11 ERROR XAE04: XAER_NOTA: Unknown XID
12 XA ROLLBACK "xa1";
13 ERROR XAE04: XAER_NOTA: Unknown XID
14 XA RECOVER;
15 formatID gtrid_length bqual_length data
16 1 3 0 xa1
17 XA RECOVER;
18 formatID gtrid_length bqual_length data
19 1 3 0 xa1
20 XA COMMIT "xa1";
21 XA RECOVER;
22 formatID gtrid_length bqual_length data
23 XA COMMIT "xa1";
24 ERROR XAE04: XAER_NOTA: Unknown XID
25 DROP TABLE t;
26 SET GLOBAL xa_detach_on_prepare = @saved_xa_detach_on_prepare;