summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb_bugs/r/xa-4.result
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/mysql-test/tokudb_bugs/r/xa-4.result')
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/xa-4.result39
1 files changed, 39 insertions, 0 deletions
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/xa-4.result b/storage/tokudb/mysql-test/tokudb_bugs/r/xa-4.result
new file mode 100644
index 00000000000..3e871c9b7ae
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/xa-4.result
@@ -0,0 +1,39 @@
+drop table if exists t1, t2;
+CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=innodb;
+CREATE TABLE t2 (b INT PRIMARY KEY) ENGINE=tokudb;
+BEGIN;
+SELECT @@log_bin;
+@@log_bin
+0
+INSERT INTO t1 VALUES (1);
+INSERT INTO t2 VALUES (2);
+SET SESSION debug="d,crash_commit_before";
+Warnings:
+Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
+COMMIT;
+ERROR HY000: Lost connection to MySQL server during query
+select * from t1;
+a
+select * from t2;
+b
+drop table t1, t2;
+CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=innodb;
+CREATE TABLE t2 (b INT PRIMARY KEY) ENGINE=tokudb;
+BEGIN;
+SELECT @@log_bin;
+@@log_bin
+0
+INSERT INTO t1 VALUES (1);
+INSERT INTO t2 VALUES (2);
+SET SESSION debug="d,crash_commit_after";
+Warnings:
+Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
+COMMIT;
+ERROR HY000: Lost connection to MySQL server during query
+select * from t1;
+a
+1
+select * from t2;
+b
+2
+drop table t1, t2;