| 1 |
xa rollback 'xid2'; |
| 2 |
ERROR XAE04: XAER_NOTA: Unknown XID |
| 3 |
drop table if exists t1; |
| 4 |
Warnings: |
| 5 |
Note 1051 Unknown table 'test.t1' |
| 6 |
create table t1(a int)engine=innodb; |
| 7 |
rollback; |
| 8 |
xa start 'xid2'; |
| 9 |
insert into `t1` values (1); |
| 10 |
savepoint `sv1`; |
| 11 |
xa end 'xid2'; |
| 12 |
start transaction; |
| 13 |
ERROR XAE07: XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state |
| 14 |
xa prepare 'xid2'; |
| 15 |
release savepoint `sv1`; |
| 16 |
xa commit 'xid2'; |
| 17 |
drop table t1; |
| 18 |
# |
| 19 |
# MDEV-31928 Assertion xid ... < 128 failed in trx_undo_write_xid() |
| 20 |
# |
| 21 |
CREATE TABLE t (a INT PRIMARY KEY) ENGINE=INNODB; |
| 22 |
XA START 'gtrid_67890123456789012345678901234567890123456789012345678901234','bqual_6789012345678901234567890123456789012345678901234567890123',1234567890; |
| 23 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1234567890' at line 1 |
| 24 |
XA START 'gtrid_6789012345678901234567890123456789012345678901234567890123','bqual_67890123456789012345678901234567890123456789012345678901234',1234567890; |
| 25 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1234567890' at line 1 |
| 26 |
XA START 'gtrid_6789012345678901234567890123456789012345678901234567890123','bqual_6789012345678901234567890123456789012345678901234567890123',1234567890; |
| 27 |
INSERT INTO t VALUES(1); |
| 28 |
XA END 'gtrid_67890123456789012345678901234567890123456789012345678901234','bqual_6789012345678901234567890123456789012345678901234567890123',1234567890; |
| 29 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1234567890' at line 1 |
| 30 |
XA END 'gtrid_6789012345678901234567890123456789012345678901234567890123','bqual_67890123456789012345678901234567890123456789012345678901234',1234567890; |
| 31 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1234567890' at line 1 |
| 32 |
XA END 'gtrid_6789012345678901234567890123456789012345678901234567890123','bqual_6789012345678901234567890123456789012345678901234567890123',1234567890; |
| 33 |
XA PREPARE 'gtrid_67890123456789012345678901234567890123456789012345678901234','bqual_6789012345678901234567890123456789012345678901234567890123',1234567890; |
| 34 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1234567890' at line 1 |
| 35 |
XA PREPARE 'gtrid_6789012345678901234567890123456789012345678901234567890123','bqual_67890123456789012345678901234567890123456789012345678901234',1234567890; |
| 36 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1234567890' at line 1 |
| 37 |
XA PREPARE 'gtrid_6789012345678901234567890123456789012345678901234567890123','bqual_6789012345678901234567890123456789012345678901234567890123',1234567890; |
| 38 |
XA COMMIT 'gtrid_67890123456789012345678901234567890123456789012345678901234','bqual_6789012345678901234567890123456789012345678901234567890123',1234567890; |
| 39 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1234567890' at line 1 |
| 40 |
XA COMMIT 'gtrid_6789012345678901234567890123456789012345678901234567890123','bqual_67890123456789012345678901234567890123456789012345678901234',1234567890; |
| 41 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1234567890' at line 1 |
| 42 |
XA COMMIT 'gtrid_6789012345678901234567890123456789012345678901234567890123','bqual_6789012345678901234567890123456789012345678901234567890123',1234567890; |
| 43 |
DROP TABLE t; |
| 44 |
# End of 10.4 tests |