summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb_bugs/r/1949.result
blob: 0edb2dd75e1f91679b3a07c48ce9a0133ff862a1 (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
26
27
28
29
30
31
32
33
34
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo;
set autocommit=off;
create table foo ( a int);
select * from foo;
a
lock tables foo write;
insert into foo values (1);
select * from foo;
a
1
rollback;
select * From foo;
a
insert into foo values (2);
select * from foo;
a
2
commit;
select * From foo;
a
2
insert into foo values (3);
select * from foo;
a
2
3
rollback;
select * From foo;
a
2
unlock tables;
set autocommit=on;
DROP TABLE foo;