diff options
author | unknown <serg@sergbook.mysql.com> | 2005-08-12 21:15:01 +0200 |
---|---|---|
committer | unknown <serg@sergbook.mysql.com> | 2005-08-12 21:15:01 +0200 |
commit | 87ae5a15976ef3db7a85ac018d0aae17f16fd09d (patch) | |
tree | 7bf5242134e413730acf82415d7616fa6b277323 /mysql-test/t/xa.test | |
parent | e10362b47275e971a73f6a66a76a4bc24f237f42 (diff) | |
download | mariadb-git-87ae5a15976ef3db7a85ac018d0aae17f16fd09d.tar.gz |
BUG#12162 - one can start two transactions with the same XID.
Now we keep all active XID's in a hash
Diffstat (limited to 'mysql-test/t/xa.test')
-rw-r--r-- | mysql-test/t/xa.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/xa.test b/mysql-test/t/xa.test index 321e5008035..aa921516110 100644 --- a/mysql-test/t/xa.test +++ b/mysql-test/t/xa.test @@ -31,6 +31,9 @@ xa end 'testa','testb'; connect (con1,localhost,,,); connection con1; +--error 1438 +xa start 'testa','testb'; + # gtrid [ , bqual [ , formatID ] ] xa start 0x7465737462, 0x2030405060, 0xb; insert t1 values (40); @@ -47,6 +50,7 @@ xa prepare 'testa','testb'; xa recover; +--error 1397 xa commit 'testb',0x2030405060,11; xa rollback 'testa','testb'; |