Commit 2a667b7b authored by Sergey Vojtovich's avatar Sergey Vojtovich

An addition to fix for

BUG#51342 - more xid crashing

Restore autocommit variable by supplying explicit value.

mysql-test/r/xa.result:
  Restore autocommit variable by supplying explicit value.
mysql-test/t/xa.test:
  Restore autocommit variable by supplying explicit value.
parent 992f6754
...@@ -90,5 +90,5 @@ INSERT INTO t1 VALUES(1); ...@@ -90,5 +90,5 @@ INSERT INTO t1 VALUES(1);
XA END 'x'; XA END 'x';
XA COMMIT 'x' ONE PHASE; XA COMMIT 'x' ONE PHASE;
DROP TABLE t1; DROP TABLE t1;
SET SESSION autocommit=DEFAULT; SET SESSION autocommit=1;
End of 5.0 tests End of 5.0 tests
...@@ -136,7 +136,7 @@ INSERT INTO t1 VALUES(1); ...@@ -136,7 +136,7 @@ INSERT INTO t1 VALUES(1);
XA END 'x'; XA END 'x';
XA COMMIT 'x' ONE PHASE; XA COMMIT 'x' ONE PHASE;
DROP TABLE t1; DROP TABLE t1;
SET SESSION autocommit=DEFAULT; SET SESSION autocommit=1;
--echo End of 5.0 tests --echo End of 5.0 tests
......
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