mirror of
https://github.com/MariaDB/server.git
synced 2025-05-16 10:49:54 +02:00
29 lines
527 B
Text
29 lines
527 B
Text
--source include/have_tokudb.inc
|
|
--source include/not_5_5.inc
|
|
|
|
--disable_warnings
|
|
drop table if exists t1;
|
|
--enable_warnings
|
|
|
|
|
|
# test that simple xa commands work with TokuDB
|
|
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=tokudb;
|
|
|
|
xa begin 'a','ab';
|
|
insert into t1 values (1);
|
|
select * from t1;
|
|
xa end 'a','ab';
|
|
xa prepare 'a','ab';
|
|
xa commit 'a','ab';
|
|
select * from t1;
|
|
|
|
xa begin 'a','ab';
|
|
insert into t1 values (2);
|
|
select * from t1;
|
|
xa end 'a','ab';
|
|
xa prepare 'a','ab';
|
|
xa rollback 'a','ab';
|
|
select * from t1;
|
|
|
|
drop table t1;
|
|
|