mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 19:41:47 +01:00
19cad4d5f2
git-svn-id: file:///svn/mysql/tests/mysql-test@54997 c7de825b-a66e-492c-adef-691d508d4ae1
21 lines
340 B
Text
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;
|