diff options
Diffstat (limited to 'storage/tokudb/mysql-test/tokudb_bugs/r/xa-6.result')
-rw-r--r-- | storage/tokudb/mysql-test/tokudb_bugs/r/xa-6.result | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/xa-6.result b/storage/tokudb/mysql-test/tokudb_bugs/r/xa-6.result new file mode 100644 index 00000000000..955d7a6212a --- /dev/null +++ b/storage/tokudb/mysql-test/tokudb_bugs/r/xa-6.result @@ -0,0 +1,85 @@ +drop table if exists t1; +CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=tokudb; +xa begin 'a','ab'; +insert into t1 values (1); +select * from t1; +a +1 +xa end 'a','ab'; +SET SESSION debug="d,tokudb_crash_prepare_before"; +Warnings: +Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead +xa prepare 'a','ab'; +ERROR HY000: Lost connection to MySQL server during query +xa commit'a','ab'; +ERROR XAE04: XAER_NOTA: Unknown XID +drop table t1; +CALL mtr.add_suppression("Found 1 prepared XA transactions"); +CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=tokudb; +xa begin 'a','ab'; +insert into t1 values (1); +select * from t1; +a +1 +xa end 'a','ab'; +SET SESSION debug="d,tokudb_crash_prepare_after"; +Warnings: +Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead +xa prepare 'a','ab'; +ERROR HY000: Lost connection to MySQL server during query +xa commit 'a','ab'; +select * from t1; +a +1 +drop table t1; +CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=tokudb; +xa begin 'a','ab'; +insert into t1 values (1); +select * from t1; +a +1 +xa end 'a','ab'; +SET SESSION debug="d,tokudb_crash_prepare_after"; +Warnings: +Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead +xa prepare 'a','ab'; +ERROR HY000: Lost connection to MySQL server during query +xa rollback 'a','ab'; +select * from t1; +a +drop table t1; +CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=tokudb; +xa begin 'a','ab'; +insert into t1 values (1); +select * from t1; +a +1 +xa end 'a','ab'; +SET SESSION debug="d,tokudb_crash_commit_before"; +Warnings: +Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead +xa prepare 'a','ab'; +xa commit 'a','ab'; +ERROR HY000: Lost connection to MySQL server during query +xa commit 'a','ab'; +select * from t1; +a +1 +drop table t1; +CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=tokudb; +xa begin 'a','ab'; +insert into t1 values (1); +select * from t1; +a +1 +xa end 'a','ab'; +SET SESSION debug="d,tokudb_crash_commit_before"; +Warnings: +Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead +xa prepare 'a','ab'; +xa commit 'a','ab'; +ERROR HY000: Lost connection to MySQL server during query +xa rollback 'a','ab'; +select * from t1; +a +drop table t1; |