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