2001-09-28 07:05:54 +02: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 19:23:04 +02:00
|
|
|
n
|
|
|
|
1
|
2001-12-22 14:13:31 +01: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 23:13:02 +02:00
|
|
|
n
|
|
|
|
4
|
2001-12-22 14:13:31 +01:00
|
|
|
drop database if exists mysqltest;
|
|
|
|
create database mysqltest;
|
|
|
|
drop database mysqltest;
|
|
|
|
drop database if exists mysqltest;
|
2001-09-28 07:05:54 +02:00
|
|
|
flush tables with read lock;
|
2001-12-22 14:13:31 +01:00
|
|
|
create database mysqltest;
|
2001-10-09 04:18:37 +02:00
|
|
|
Got one of the listed errors
|
2001-09-28 07:05:54 +02:00
|
|
|
unlock tables;
|
2001-12-22 14:13:31 +01:00
|
|
|
create database mysqltest;
|
2001-09-28 07:05:54 +02:00
|
|
|
show databases;
|
2001-06-22 16:35:18 +02:00
|
|
|
Database
|
|
|
|
mysql
|
2001-12-22 14:13:31 +01:00
|
|
|
mysqltest
|
2001-06-22 16:35:18 +02:00
|
|
|
test
|
2001-09-28 07:05:54 +02:00
|
|
|
flush tables with read lock;
|
2001-12-22 14:13:31 +01:00
|
|
|
drop database mysqltest;
|
2001-10-09 04:18:37 +02:00
|
|
|
Got one of the listed errors
|
2001-09-28 07:05:54 +02:00
|
|
|
unlock tables;
|
2001-12-22 14:13:31 +01:00
|
|
|
drop database mysqltest;
|
2001-09-28 07:05:54 +02:00
|
|
|
show databases;
|
2001-06-22 16:35:18 +02:00
|
|
|
Database
|
|
|
|
mysql
|
|
|
|
test
|
2001-12-22 14:13:31 +01:00
|
|
|
drop database mysqltest;
|
|
|
|
Can't drop database 'mysqltest'. Database doesn't exist
|