mariadb/storage/tokudb/mysql-test/tokudb_bugs/r/xa-5.result
2013-09-09 13:59:38 +02:00

26 lines
391 B
Text

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';
xa prepare 'a','ab';
xa commit 'a','ab';
select * from t1;
a
1
xa begin 'a','ab';
insert into t1 values (2);
select * from t1;
a
1
2
xa end 'a','ab';
xa prepare 'a','ab';
xa rollback 'a','ab';
select * from t1;
a
1
drop table t1;