summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorserg@serg.mylan <>2005-10-05 16:38:53 +0200
committerserg@serg.mylan <>2005-10-05 16:38:53 +0200
commit10953a6d8cf01991de1ab8b4829a7b4952d05268 (patch)
tree0500ae3302afa9dcf5089517738646f7a60db952 /mysql-test
parent3edd6c016ab1ebc4c7685e0d0b774acc27032a22 (diff)
downloadmariadb-git-10953a6d8cf01991de1ab8b4829a7b4952d05268.tar.gz
Bug#13143 - formatID should not affect XID's uniqueness
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/xa.result2
-rw-r--r--mysql-test/t/xa.test2
2 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/xa.result b/mysql-test/r/xa.result
index f3d7e151628..ae5407ce409 100644
--- a/mysql-test/r/xa.result
+++ b/mysql-test/r/xa.result
@@ -24,6 +24,8 @@ insert t1 values (30);
xa end 'testa','testb';
xa start 'testa','testb';
ERROR XAE08: XAER_DUPID: The XID already exists
+xa start 'testa','testb', 123;
+ERROR XAE08: XAER_DUPID: The XID already exists
xa start 0x7465737462, 0x2030405060, 0xb;
insert t1 values (40);
xa end 'testb',' 0@P`',11;
diff --git a/mysql-test/t/xa.test b/mysql-test/t/xa.test
index 1347fd05415..f059f8f9bb5 100644
--- a/mysql-test/t/xa.test
+++ b/mysql-test/t/xa.test
@@ -33,6 +33,8 @@ connection con1;
--error 1440
xa start 'testa','testb';
+--error 1440
+xa start 'testa','testb', 123;
# gtrid [ , bqual [ , formatID ] ]
xa start 0x7465737462, 0x2030405060, 0xb;