EVOLUTION-MANAGER
Edit File: mvcc-25.result
SET DEFAULT_STORAGE_ENGINE = 'tokudb'; # Establish connection conn1 (user = root) connect conn1,localhost,root,,; connect conn2,localhost,root,,; connect conn3,localhost,root,,; DROP TABLE IF EXISTS foo,bar; connection default; set session transaction isolation level repeatable read; create table foo (a int, b varchar (100), primary key (a))engine=TokuDB; create table bar like foo; show create table foo; Table Create Table foo CREATE TABLE `foo` ( `a` int(11) NOT NULL, `b` varchar(100) DEFAULT NULL, PRIMARY KEY (`a`) ) ENGINE=TokuDB DEFAULT CHARSET=latin1 show create table bar; Table Create Table bar CREATE TABLE `bar` ( `a` int(11) NOT NULL, `b` varchar(100) DEFAULT NULL, PRIMARY KEY (`a`) ) ENGINE=TokuDB DEFAULT CHARSET=latin1 connection conn1; set session transaction isolation level repeatable read; begin; # should be empty select * from foo; a b connection default; begin; # should be empty select * from bar; a b connection conn2; begin; # should be empty select * from foo; a b connection default; insert into foo values (1,"g"); commit; replace into foo values (1,"ga"); replace into foo values (1,"gar"); replace into foo values (1,"garb"); replace into foo values (1,"aaaa"); connection conn3; # should have one value select * from foo; a b 1 aaaa commit; connection conn2; # should be empty select * from foo; a b commit; connection conn1; # should be empty select * from foo; a b commit; connection default; disconnect conn1; disconnect conn2; disconnect conn3; connection default; set session transaction isolation level serializable; DROP TABLE foo,bar;