summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb_bugs/r/2641.result
blob: 0af82cae523311f992d3793709d4e4cd1877fbce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Establish connection conn1 (user = root)
connect  conn1,localhost,root,,;
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo, bar;
connection conn1;
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);
connection default;
set session transaction isolation level repeatable read;
begin;
select * from bar;
a
connection conn1;
commit;
connection default;
select * from foo;
a	b
commit;
disconnect conn1;
connection default;
set session transaction isolation level serializable;
DROP TABLE foo, bar;