mariadb/storage/tokudb/mysql-test/tokudb_bugs/r/5974.result
2016-04-26 20:56:25 +02:00

35 lines
676 B
Text

SET DEFAULT_STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS toku1, toku2;
create table toku1 (a int) engine=TokuDB;
create table toku2 (a int) engine=TokuDB;
insert into toku1 values (1),(2),(3);
insert into toku2 values (1),(2),(3);
connect conn1,localhost,root,,;
connection default;
set session transaction isolation level READ COMMITTED;
begin;
insert into toku2 select * from toku1;
connection conn1;
set session transaction isolation level READ COMMITTED;
insert into toku1 values (4);
connection default;
commit;
select * from toku2;
a
1
2
3
1
2
3
connection conn1;
commit;
select * from toku1;
a
1
2
3
4
connection default;
disconnect conn1;
DROP TABLE toku1, toku2;