~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

« back to all changes in this revision

Viewing changes to tests/r/flush.result

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-03-18 12:12:31 UTC
  • Revision ID: james.westby@ubuntu.com-20100318121231-k6g1xe6cshbwa0f8
Tags: upstream-2010.03.1347
ImportĀ upstreamĀ versionĀ 2010.03.1347

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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);
 
24
create table t2 (c1 int);
 
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