mariadb/mysql-test/suite/tokudb.mvcc/r/mvcc-26.result
Zardosht Kasheff 8ea4ac6085 [t:2922] move mvcc tests
git-svn-id: file:///svn/mysql/tests/mysql-test@23629 c7de825b-a66e-492c-adef-691d508d4ae1
2010-09-08 18:49:31 +00:00

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;