mariadb/mysql-test/suite/tokudb.bugs/r/xa-2.result
Zardosht Kasheff e9a38a08d2 [t:4297], another test
git-svn-id: file:///svn/mysql/tests/mysql-test@41742 c7de825b-a66e-492c-adef-691d508d4ae1
2012-04-10 15:04:28 +00:00

40 lines
483 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';
select * from t1;
a
1
xa prepare 'a','ab';
select * from t1;
a
1
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';
select * from t1;
a
1
2
xa prepare 'a','ab';
select * from t1;
a
1
2
xa rollback 'a','ab';
select * from t1;
a
1
drop table t1;