~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/drop.result

  • Committer: Daniel Nichter
  • Date: 2011-10-23 16:01:37 UTC
  • mto: This revision was merged to the branch mainline in revision 2448.
  • Revision ID: daniel@percona.com-20111023160137-7ac3blgz8z4tf8za
Add Administration Getting Started and Logging.  Capitalize SQL clause keywords.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
create temporary table t1( n int);
9
9
insert into t1 values(2);
10
10
create table t1(n int);
11
 
ERROR 42S01: Table 't1' already exists
 
11
ERROR 42S01: Table 'test.t1' already exists
12
12
drop table t1;
13
13
select * from t1;
14
14
n
46
46
create database mysqltest;
47
47
show databases;
48
48
Database
49
 
information_schema
 
49
DATA_DICTIONARY
 
50
INFORMATION_SCHEMA
50
51
mysql
51
52
mysqltest
52
53
test
57
58
drop database mysqltest;
58
59
show databases;
59
60
Database
60
 
information_schema
 
61
DATA_DICTIONARY
 
62
INFORMATION_SCHEMA
61
63
mysql
62
64
test
63
65
drop database mysqltest;
64
 
ERROR HY000: Can't drop database 'mysqltest'; database doesn't exist
 
66
ERROR HY000: Can't drop schema 'mysqltest'; schema doesn't exist
65
67
drop table t1;
66
68
flush tables with read lock;
67
69
create table t1(n int);
72
74
Tables_in_test
73
75
t1
74
76
drop table t1;
75
 
drop database if exists mysqltest;
76
 
drop table if exists t1;
77
 
create table t1 (i int);
78
 
lock tables t1 read;
79
 
create database mysqltest;
80
 
drop table t1;
81
 
show open tables;
82
 
drop database mysqltest;
83
 
select 1;
84
 
1
85
 
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
77
End of 5.0 tests
108
78
create database mysql_test;
109
79
create table mysql_test.t1(f1 int);