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 'test.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;
54
flush tables with read lock;
55
drop database mysqltest;
56
Got one of the listed errors
58
drop database mysqltest;
65
drop database mysqltest;
66
ERROR HY000: Can't drop database 'mysqltest'; database doesn't exist
68
flush tables with read lock;
69
create table t1(n int);
70
ERROR HY000: Can't execute the query because you have a conflicting read lock
72
create table t1(n int);
78
create database mysql_test;
79
create table mysql_test.t1(f1 int);
80
create table mysql_test.`#sql-347f_7` (f1 int);
81
create table mysql_test.`#sql-347f_8` (f1 int);
82
drop table mysql_test.`#sql-347f_8`;
83
drop database mysql_test;
84
create database mysqltestbug26703;
85
use mysqltestbug26703;
86
create table `#mysql50#abc``def` ( id int );
87
create table `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` (a int);
88
ERROR 42000: Incorrect table name 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
89
create table `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` (a int);
90
create table `#mysql50#aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` (a int);
91
create table `#mysql50#aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` (a int);
92
ERROR 42000: Incorrect table name '#mysql50#aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
94
drop database mysqltestbug26703;