~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

Viewing changes to mysql-test/r/drop.result

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
drop table if exists t1;
 
2
drop database if exists mysqltest;
 
3
drop database if exists client_test_db;
 
4
drop table t1;
 
5
ERROR 42S02: Unknown table 't1'
 
6
create table t1(n int);
 
7
insert into t1 values(1);
 
8
create temporary table t1( n int);
 
9
insert into t1 values(2);
 
10
create table t1(n int);
 
11
ERROR 42S01: Table 't1' already exists
 
12
drop table t1;
 
13
select * from t1;
 
14
n
 
15
1
 
16
create database mysqltest;
 
17
drop database if exists mysqltest;
 
18
create database mysqltest;
 
19
create table mysqltest.mysqltest (n int);
 
20
insert into mysqltest.mysqltest values (4);
 
21
select * from mysqltest.mysqltest;
 
22
n
 
23
4
 
24
drop database if exists mysqltest;
 
25
affected rows: 1
 
26
create database mysqltest;
 
27
use mysqltest;
 
28
drop table table1, table2, table3, table4, table5, table6,
 
29
table7, table8, table9, table10, table11, table12, table13,
 
30
table14, table15, table16, table17, table18, table19, table20,
 
31
table21, table22, table23, table24, table25, table26, table27,
 
32
table28;
 
33
ERROR 42S02: Unknown table 'table1,table2,table3,table4,table5,table6,table7,table8,table9,table10,table11,table12,table13,table'
 
34
drop table table1, table2, table3, table4, table5, table6,
 
35
table7, table8, table9, table10, table11, table12, table13,
 
36
table14, table15, table16, table17, table18, table19, table20,
 
37
table21, table22, table23, table24, table25, table26, table27,
 
38
table28, table29, table30;
 
39
ERROR 42S02: Unknown table 'table1,table2,table3,table4,table5,table6,table7,table8,table9,table10,table11,table12,table13,table'
 
40
use test;
 
41
drop database mysqltest;
 
42
flush tables with read lock;
 
43
create database mysqltest;
 
44
Got one of the listed errors
 
45
unlock tables;
 
46
create database mysqltest;
 
47
show databases;
 
48
Database
 
49
information_schema
 
50
mysql
 
51
mysqltest
 
52
test
 
53
flush tables with read lock;
 
54
drop database mysqltest;
 
55
Got one of the listed errors
 
56
unlock tables;
 
57
drop database mysqltest;
 
58
show databases;
 
59
Database
 
60
information_schema
 
61
mysql
 
62
test
 
63
drop database mysqltest;
 
64
ERROR HY000: Can't drop database 'mysqltest'; database doesn't exist
 
65
drop table t1;
 
66
flush tables with read lock;
 
67
create table t1(n int);
 
68
ERROR HY000: Can't execute the query because you have a conflicting read lock
 
69
unlock tables;
 
70
create table t1(n int);
 
71
show tables;
 
72
Tables_in_test
 
73
t1
 
74
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
End of 5.0 tests
 
108
create database mysql_test;
 
109
create table mysql_test.t1(f1 int);
 
110
create table mysql_test.`#sql-347f_7` (f1 int);
 
111
create table mysql_test.`#sql-347f_8` (f1 int);
 
112
drop table mysql_test.`#sql-347f_8`;
 
113
drop database mysql_test;
 
114
create database mysqltestbug26703;
 
115
use mysqltestbug26703;
 
116
create table `#mysql50#abc``def` ( id int );
 
117
create table `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` (a int);
 
118
ERROR 42000: Incorrect table name 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
 
119
create table `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` (a int);
 
120
create table `#mysql50#aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` (a int);
 
121
create table `#mysql50#aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` (a int);
 
122
ERROR 42000: Incorrect table name '#mysql50#aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
 
123
use test;
 
124
drop database mysqltestbug26703;
 
125
 
 
126
End of 5.1 tests