mariadb/mysql-test/suite/tokudb.mvcc/t/mvcc-26.test
Zardosht Kasheff c61464298f [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

23 lines
No EOL
504 B
Text
Executable file

# ticket 895 is a query optimization problem with the primary key
SET STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo;
--enable_warnings
set session transaction isolation level repeatable read;
create table foo (a int);
select * from foo;
begin;
insert into foo values (1),(2),(3);
select * from foo;
rollback;
select * from foo;
optimize table foo;
select * from foo;
insert into foo values (1),(2),(3);
select * from foo;
optimize table foo;
select * from foo;
DROP TABLE foo;