summaryrefslogtreecommitdiff
path: root/mysql-test/t/xa.test
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-10-05 19:58:16 +0200
committerunknown <serg@serg.mylan>2005-10-05 19:58:16 +0200
commitfcc644fff735c97d17d6a525a14fd1bd310b26c9 (patch)
treef24d0432b7196a07307a792e64336babd4c3f43b /mysql-test/t/xa.test
parent7b54f5d6336e848a8d3b5b21d70612b4033913e8 (diff)
downloadmariadb-git-fcc644fff735c97d17d6a525a14fd1bd310b26c9.tar.gz
Bug#12935 Local and XA transactions not mutually exclusive
Diffstat (limited to 'mysql-test/t/xa.test')
-rw-r--r--mysql-test/t/xa.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/xa.test b/mysql-test/t/xa.test
index f059f8f9bb5..92405bac137 100644
--- a/mysql-test/t/xa.test
+++ b/mysql-test/t/xa.test
@@ -26,8 +26,17 @@ select * from t1;
xa start 'testa','testb';
insert t1 values (30);
+
+--error 1399
+commit;
+
xa end 'testa','testb';
+--error 1399
+begin;
+--error 1399
+create table t2 (a int);
+
connect (con1,localhost,,,);
connection con1;
@@ -42,6 +51,9 @@ insert t1 values (40);
xa end 'testb',' 0@P`',11;
xa prepare 'testb',0x2030405060,11;
+--error 1399
+start transaction;
+
xa recover;
# uncomment the line below when binlog will be able to prepare