2001-09-28 07:05:54 +02:00
|
|
|
drop table if exists t1;
|
2003-08-18 23:08:08 +02:00
|
|
|
drop database if exists mysqltest;
|
2004-11-03 11:39:38 +01:00
|
|
|
drop database if exists client_test_db;
|
2001-09-28 07:05:54 +02:00
|
|
|
drop table t1;
|
2003-06-04 17:28:51 +02:00
|
|
|
ERROR 42S02: Unknown table 't1'
|
2001-09-28 07:05:54 +02:00
|
|
|
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);
|
2003-06-04 17:28:51 +02:00
|
|
|
ERROR 42S01: Table 't1' already exists
|
2001-09-28 07:05:54 +02:00
|
|
|
drop table t1;
|
|
|
|
select * from t1;
|
2001-03-27 19:23:04 +02:00
|
|
|
n
|
|
|
|
1
|
2001-12-22 14:13:31 +01:00
|
|
|
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;
|
2004-03-19 16:43:03 +01:00
|
|
|
affected rows: 1
|
2001-12-22 14:13:31 +01:00
|
|
|
create database mysqltest;
|
|
|
|
drop database 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
|
2004-12-10 10:07:11 +01:00
|
|
|
information_schema
|
2001-06-22 16:35:18 +02:00
|
|
|
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
|
2004-12-10 10:07:11 +01:00
|
|
|
information_schema
|
2001-06-22 16:35:18 +02:00
|
|
|
mysql
|
|
|
|
test
|
2001-12-22 14:13:31 +01:00
|
|
|
drop database mysqltest;
|
2003-07-10 10:02:57 +02:00
|
|
|
ERROR HY000: Can't drop database 'mysqltest'; database doesn't exist
|
2003-08-27 15:03:39 +02:00
|
|
|
drop table t1;
|
|
|
|
flush tables with read lock;
|
|
|
|
create table t1(n int);
|
2003-08-28 15:09:00 +02:00
|
|
|
ERROR HY000: Can't execute the query because you have a conflicting read lock
|
2003-08-27 15:03:39 +02:00
|
|
|
unlock tables;
|
|
|
|
create table t1(n int);
|
|
|
|
show tables;
|
2004-10-10 12:15:14 +02:00
|
|
|
Tables_in_test
|
|
|
|
t1
|
2003-08-27 15:03:39 +02:00
|
|
|
drop table t1;
|