mariadb/storage/tokudb/mysql-test/tokudb_bugs/r/2641.result
2013-09-09 13:59:38 +02:00

18 lines
500 B
Text

# Establish connection conn1 (user = root)
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo, bar;
set session transaction isolation level read committed;
create table foo ( a int, b int, primary key (a));
create table bar (a int);
begin;
insert into foo values (1,1),(2,2),(3,1),(4,3);
set session transaction isolation level repeatable read;
begin;
select * from bar;
a
commit;
select * from foo;
a b
commit;
set session transaction isolation level serializable;
DROP TABLE foo, bar;