~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/drop.result

  • Committer: Brian Aker
  • Date: 2009-06-08 02:42:24 UTC
  • mfrom: (1054.1.6 merge)
  • Revision ID: brian@gaz-20090608024224-zlff1bpq62r8m5gy
Removal of LOCK TABLES.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
drop database if exists mysqltest;
76
76
drop table if exists t1;
77
77
create table t1 (i int);
78
 
lock tables t1 read;
79
78
create database mysqltest;
80
79
drop table t1;
81
80
show open tables;
83
82
select 1;
84
83
1
85
84
1
86
 
unlock tables;
87
 
drop table if exists t1,t2;
88
 
create table t1 (a int);
89
 
create table t2 (a int);
90
 
lock table t1 read;
91
 
drop table t2;
92
 
ERROR HY000: Table 't2' was not locked with LOCK TABLES
93
 
drop table t1;
94
 
ERROR HY000: Table 't1' was locked with a READ lock and can't be updated
95
 
unlock tables;
96
 
drop table t1,t2;
97
 
create table t1 (i int);
98
 
create table t2 (i int);
99
 
lock tables t1 read;
100
 
lock tables t2 read;
101
 
drop table t1;
102
 
ERROR HY000: Table 't1' was not locked with LOCK TABLES
103
 
drop table t1,t2;
104
 
ERROR HY000: Table 't1' was locked with a READ lock and can't be updated
105
 
unlock tables;
106
 
drop table t1,t2;
107
85
End of 5.0 tests
108
86
create database mysql_test;
109
87
create table mysql_test.t1(f1 int);