mariadb/mysql-test/suite/tokudb/r/truncate_txn_commit.result
Rich Prohaska 19cad4d5f2 refs #6440 simplify the mysql tests for tokudb
git-svn-id: file:///svn/mysql/tests/mysql-test@54997 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-02 14:02:03 +00:00

21 lines
340 B
Text

set autocommit=off;
drop table if exists t;
create table t (a int, b int, primary key (a)) engine=tokudb;
start transaction;
insert into t values (1,2),(2,4),(3,8);
commit;
start transaction;
select * from t;
a b
1 2
2 4
3 8
commit;
start transaction;
truncate table t;
commit;
start transaction;
select * from t;
a b
commit;
drop table t;