mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 07:14:17 +01:00
ff28d3b33d
git-svn-id: file:///svn/mysql/tests/mysql-test@51908 c7de825b-a66e-492c-adef-691d508d4ae1
31 lines
390 B
Text
31 lines
390 B
Text
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
|
|
DROP TABLE IF EXISTS foo;
|
|
set session autocommit=on;
|
|
create table foo (a int);
|
|
insert into foo values (1);
|
|
select * from foo;
|
|
a
|
|
1
|
|
begin;
|
|
select * from foo;
|
|
a
|
|
1
|
|
insert into foo values(2);
|
|
select * from foo;
|
|
a
|
|
1
|
|
2
|
|
commit;
|
|
set session autocommit=off;
|
|
select * from foo;
|
|
a
|
|
1
|
|
2
|
|
insert into foo values(2);
|
|
select * from foo;
|
|
a
|
|
1
|
|
2
|
|
2
|
|
commit;
|
|
DROP TABLE foo;
|