1
drop table if exists t1;
2
drop database if exists mysqltest;
3
drop database if exists client_test_db;
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
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;
24
drop database if exists mysqltest;
26
create database 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,
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'
41
drop database mysqltest;
42
flush tables with read lock;
43
create database mysqltest;
44
Got one of the listed errors
46
create database mysqltest;
53
flush tables with read lock;
54
drop database mysqltest;
55
Got one of the listed errors
57
drop database mysqltest;
63
drop database mysqltest;
64
ERROR HY000: Can't drop database 'mysqltest'; database doesn't exist
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
70
create table t1(n int);
75
drop database if exists mysqltest;
76
drop table if exists t1;
77
create table t1 (i int);
79
create database mysqltest;
82
drop database mysqltest;
87
drop table if exists t1,t2;
88
create table t1 (a int);
89
create table t2 (a int);
92
ERROR HY000: Table 't2' was not locked with LOCK TABLES
94
ERROR HY000: Table 't1' was locked with a READ lock and can't be updated
97
create table t1 (i int);
98
create table t2 (i int);
102
ERROR HY000: Table 't1' was not locked with LOCK TABLES
104
ERROR HY000: Table 't1' was locked with a READ lock and can't be updated
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'
124
drop database mysqltestbug26703;