~drizzle-trunk/drizzle/development

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
A
CREATE TABLE t1 (a int);
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
BEGIN;
INSERT INTO t1 values (1);
B
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
BEGIN;
SELECT * from t1;
a
A
INSERT INTO t1 values (2);
B
SELECT * from t1;
a
COMMIT;
BEGIN;
SELECT * FROM t1;
a
A
COMMIT;
B
SELECT * from t1 order by a;
a
1
2
COMMIT;
BEGIN;
SELECT * from t1 order by a;
a
1
2
COMMIT;
DROP TABLE t1;