mariadb/mysql-test/suite/tokudb/t/truncate_txn_commit.test
Rich Prohaska c22ab2bbb5 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

19 lines
No EOL
379 B
Text

# test truncate commit
set autocommit=off;
--disable_warnings
drop table if exists t;
--enable_warnings
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;
commit;
start transaction;
truncate table t;
commit;
start transaction;
select * from t;
commit;
drop table t;