blob: 2f87ddb26cc3f13e94ba70d1888a072723699e1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo,foo1;
set session transaction isolation level repeatable read;
create table foo (a int) engine=TokuDB;
show create table foo;
Table Create Table
foo CREATE TABLE `foo` (
`a` int(11) DEFAULT NULL
) ENGINE=TokuDB DEFAULT CHARSET=latin1
begin;
select * from foo;
a
set session transaction isolation level repeatable read;
create table foo1(a int) engine=TokuDB;
insert into foo1 values(1);
select * from foo1;
ERROR HY000: Table definition has changed, please retry transaction
set session transaction isolation level serializable;
DROP TABLE foo,foo1;
|