2001-09-27 23:05:54 -06:00
|
|
|
drop table if exists t1;
|
|
|
|
drop table if exists t1;
|
|
|
|
drop table t1;
|
|
|
|
Unknown table 't1'
|
|
|
|
create table t1(n int);
|
|
|
|
insert into t1 values(1);
|
|
|
|
create temporary table t1( n int);
|
|
|
|
insert into t1 values(2);
|
|
|
|
create table t1(n int);
|
|
|
|
Table 't1' already exists
|
|
|
|
drop table t1;
|
|
|
|
select * from t1;
|
2001-03-27 10:23:04 -07:00
|
|
|
n
|
|
|
|
1
|
2001-12-22 15:13:31 +02:00
|
|
|
drop database if exists mysqltest;
|
|
|
|
create database mysqltest;
|
|
|
|
drop database if exists mysqltest;
|
|
|
|
create database mysqltest;
|
|
|
|
create table mysqltest.mysqltest (n int);
|
|
|
|
insert into mysqltest.mysqltest values (4);
|
|
|
|
select * from mysqltest.mysqltest;
|
2001-06-01 15:13:02 -06:00
|
|
|
n
|
|
|
|
4
|
2001-12-22 15:13:31 +02:00
|
|
|
drop database if exists mysqltest;
|
|
|
|
create database mysqltest;
|
|
|
|
drop database mysqltest;
|
|
|
|
drop database if exists mysqltest;
|
2001-09-27 23:05:54 -06:00
|
|
|
flush tables with read lock;
|
2001-12-22 15:13:31 +02:00
|
|
|
create database mysqltest;
|
2001-10-08 20:18:37 -06:00
|
|
|
Got one of the listed errors
|
2001-09-27 23:05:54 -06:00
|
|
|
unlock tables;
|
2001-12-22 15:13:31 +02:00
|
|
|
create database mysqltest;
|
2001-09-27 23:05:54 -06:00
|
|
|
show databases;
|
2001-06-22 08:35:18 -06:00
|
|
|
Database
|
|
|
|
mysql
|
2001-12-22 15:13:31 +02:00
|
|
|
mysqltest
|
2001-06-22 08:35:18 -06:00
|
|
|
test
|
2001-09-27 23:05:54 -06:00
|
|
|
flush tables with read lock;
|
2001-12-22 15:13:31 +02:00
|
|
|
drop database mysqltest;
|
2001-10-08 20:18:37 -06:00
|
|
|
Got one of the listed errors
|
2001-09-27 23:05:54 -06:00
|
|
|
unlock tables;
|
2001-12-22 15:13:31 +02:00
|
|
|
drop database mysqltest;
|
2001-09-27 23:05:54 -06:00
|
|
|
show databases;
|
2001-06-22 08:35:18 -06:00
|
|
|
Database
|
|
|
|
mysql
|
|
|
|
test
|
2001-12-22 15:13:31 +02:00
|
|
|
drop database mysqltest;
|
|
|
|
Can't drop database 'mysqltest'. Database doesn't exist
|