mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
8ea4ac6085
git-svn-id: file:///svn/mysql/tests/mysql-test@23629 c7de825b-a66e-492c-adef-691d508d4ae1
24 lines
No EOL
503 B
Text
Executable file
24 lines
No EOL
503 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);
|
|
select * from foo;
|
|
rollback;
|
|
select * from foo;
|
|
|
|
set session transaction isolation level read committed;
|
|
begin;
|
|
insert into foo values (1);
|
|
select * from foo;
|
|
rollback;
|
|
select * from foo;
|
|
|
|
DROP TABLE foo; |