mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
8ea4ac6085
git-svn-id: file:///svn/mysql/tests/mysql-test@23629 c7de825b-a66e-492c-adef-691d508d4ae1
36 lines
539 B
Text
Executable file
36 lines
539 B
Text
Executable file
SET STORAGE_ENGINE = 'tokudb';
|
|
DROP TABLE IF EXISTS foo;
|
|
set session transaction isolation level repeatable read;
|
|
create table foo (a int);
|
|
select * from foo;
|
|
a
|
|
begin;
|
|
insert into foo values (1),(2),(3);
|
|
select * from foo;
|
|
a
|
|
1
|
|
2
|
|
3
|
|
rollback;
|
|
select * from foo;
|
|
a
|
|
optimize table foo;
|
|
Table Op Msg_type Msg_text
|
|
test.foo optimize status OK
|
|
select * from foo;
|
|
a
|
|
insert into foo values (1),(2),(3);
|
|
select * from foo;
|
|
a
|
|
1
|
|
2
|
|
3
|
|
optimize table foo;
|
|
Table Op Msg_type Msg_text
|
|
test.foo optimize status OK
|
|
select * from foo;
|
|
a
|
|
1
|
|
2
|
|
3
|
|
DROP TABLE foo;
|