~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
drop table if exists t1,t2;
2
create table t1 (a int not null auto_increment primary key);
3
insert into t1 values(0);
4
lock table t1 read;
5
flush table t1;
6
check table t1;
7
Table	Op	Msg_type	Msg_text
8
test.t1	check	status	OK
9
unlock tables;
10
lock table t1 read;
11
lock table t1 read;
12
flush table t1;
13
select * from t1;
14
a
15
1
16
unlock tables;
17
select * from t1;
18
a
19
1
20
unlock tables;
21
lock table t1 write;
22
lock table t1 read;
23
flush table t1;
24
select * from t1;
25
a
26
1
27
unlock tables;
28
unlock tables;
29
lock table t1 read;
30
lock table t1 write;
31
flush table t1;
32
select * from t1;
33
a
34
1
35
unlock tables;
36
unlock tables;
37
select * from t1;
38
a
39
1
40
drop table t1;
41
FLUSH TABLES WITH READ LOCK ;
42
FLUSH TABLES WITH READ LOCK ;
43
UNLOCK TABLES;