mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 23:34:34 +01:00
b8e5fd44c4
git-svn-id: file:///svn/mysql/tests/mysql-test@41797 c7de825b-a66e-492c-adef-691d508d4ae1
26 lines
391 B
Text
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;
|