~drizzle-trunk/drizzle/development

1860.2.7 by Stewart Smith
add test for READ COMMITTED isolation level
1
A
1860.2.1 by Stewart Smith
add test for READ_COMMITTED isolation level (currently fails with Innobase plugin at least)
2
CREATE TABLE t1 (a int);
3
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
4
BEGIN;
5
INSERT INTO t1 values (1);
1860.2.7 by Stewart Smith
add test for READ COMMITTED isolation level
6
B
1860.2.1 by Stewart Smith
add test for READ_COMMITTED isolation level (currently fails with Innobase plugin at least)
7
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
8
BEGIN;
9
SELECT * from t1;
10
a
1860.2.7 by Stewart Smith
add test for READ COMMITTED isolation level
11
A
1860.2.1 by Stewart Smith
add test for READ_COMMITTED isolation level (currently fails with Innobase plugin at least)
12
INSERT INTO t1 values (2);
1860.2.7 by Stewart Smith
add test for READ COMMITTED isolation level
13
B
1860.2.1 by Stewart Smith
add test for READ_COMMITTED isolation level (currently fails with Innobase plugin at least)
14
SELECT * from t1;
15
a
16
COMMIT;
17
BEGIN;
18
SELECT * FROM t1;
19
a
1860.2.7 by Stewart Smith
add test for READ COMMITTED isolation level
20
A
1860.2.1 by Stewart Smith
add test for READ_COMMITTED isolation level (currently fails with Innobase plugin at least)
21
COMMIT;
1860.2.7 by Stewart Smith
add test for READ COMMITTED isolation level
22
B
1860.2.1 by Stewart Smith
add test for READ_COMMITTED isolation level (currently fails with Innobase plugin at least)
23
SELECT * from t1 order by a;
24
a
25
1
26
2
27
COMMIT;
28
BEGIN;
29
SELECT * from t1 order by a;
30
a
31
1
32
2
33
DROP TABLE t1;