~drizzle-trunk/drizzle/development

724.1.1 by Brian Aker
Adding in missing flush results.
1
drop table if exists t1,t2;
2
drop database if exists mysqltest;
3
create temporary table t1(n int not null primary key);
4
create table t2(n int);
5
insert into t2 values(3);
6
select * from t1;
7
n
8
3
9
flush tables with read lock;
10
drop table t2;
11
ERROR HY000: Can't execute the query because you have a conflicting read lock
12
drop table t2;
13
unlock tables;
14
create database mysqltest;
15
create table mysqltest.t1(n int);
16
insert into mysqltest.t1 values (23);
17
flush tables with read lock;
18
drop database mysqltest;
19
select * from mysqltest.t1;
20
n
21
23
22
unlock tables;
23
create table t1 (c1 int);
1054.1.1 by Brian Aker
Remove guts in parser for LOCK TABLE.
24
create table t2 (c1 int);
724.1.1 by Brian Aker
Adding in missing flush results.
25
flush tables with read lock;
26
insert into t2 values(1);
27
unlock tables;
28
drop table t1, t2;
29
select benchmark(200, (select sin(1))) > 1000;
30
End of 5.0 tests