Commit 8a9a02b9 authored by Zardosht Kasheff's avatar Zardosht Kasheff

closes #5216, fix test and result file

git-svn-id: file:///svn/mysql/tests/mysql-test@45504 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4009f484
...@@ -73,6 +73,8 @@ count(*) ...@@ -73,6 +73,8 @@ count(*)
xa end 'a','c'; xa end 'a','c';
xa rollback 'a','c'; xa rollback 'a','c';
xa start 'a','c'; xa start 'a','c';
xa end 'a','b';
xa rollback 'a','b';
drop table t1; drop table t1;
# #
# BUG#51342 - more xid crashing # BUG#51342 - more xid crashing
...@@ -129,4 +131,5 @@ XA ROLLBACK 'xid1'; ...@@ -129,4 +131,5 @@ XA ROLLBACK 'xid1';
XA START 'xid1'; XA START 'xid1';
XA END 'xid1'; XA END 'xid1';
XA ROLLBACK 'xid1'; XA ROLLBACK 'xid1';
commit;
DROP TABLE t1; DROP TABLE t1;
...@@ -122,6 +122,11 @@ connect (con3,localhost,root,,); ...@@ -122,6 +122,11 @@ connect (con3,localhost,root,,);
--connection con3 --connection con3
xa start 'a','c'; xa start 'a','c';
--connection con1
--reap
xa end 'a','b';
xa rollback 'a','b';
--connection con3
--disconnect con1 --disconnect con1
--disconnect con3 --disconnect con3
--connection default --connection default
...@@ -229,6 +234,10 @@ XA START 'xid1'; ...@@ -229,6 +234,10 @@ XA START 'xid1';
XA END 'xid1'; XA END 'xid1';
XA ROLLBACK 'xid1'; XA ROLLBACK 'xid1';
connection con1;
--reap
commit;
connection default;
disconnect con1; disconnect con1;
DROP TABLE t1; DROP TABLE t1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment