mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 22:34:18 +01:00
642a4fb63a
git-svn-id: file:///svn/mysql/tests/mysql-test@40915 c7de825b-a66e-492c-adef-691d508d4ae1
19 lines
382 B
Text
19 lines
382 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;
|
|
rollback;
|
|
start transaction;
|
|
select * from t;
|
|
commit;
|
|
drop table t;
|