~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

Viewing changes to tests/r/pbxt/drop.result

  • Committer: Padraig O'Sullivan
  • Date: 2010-04-17 01:38:47 UTC
  • mfrom: (1237.9.238 bad-staging)
  • Revision ID: osullivan.padraig@gmail.com-20100417013847-ibjioqsfbmf5yg4g
Merge trunk.

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 'test.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
DATA_DICTIONARY
 
50
INFORMATION_SCHEMA
 
51
mysql
 
52
mysqltest
 
53
test
 
54
flush tables with read lock;
 
55
drop database mysqltest;
 
56
Got one of the listed errors
 
57
unlock tables;
 
58
drop database mysqltest;
 
59
show databases;
 
60
Database
 
61
DATA_DICTIONARY
 
62
INFORMATION_SCHEMA
 
63
mysql
 
64
test
 
65
drop database mysqltest;
 
66
ERROR HY000: Can't drop database 'mysqltest'; database doesn't exist
 
67
drop table t1;
 
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
 
71
unlock tables;
 
72
create table t1(n int);
 
73
show tables;
 
74
Tables_in_test
 
75
t1
 
76
drop table t1;
 
77
End of 5.0 tests
 
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'
 
93
use test;
 
94
drop database mysqltestbug26703;
 
95
 
 
96
End of 5.1 tests