mariadb/mysql-test/t/drop.test
sasha@mysql.sashanet.com 1e76c806eb fixed drop/create database bug when holding global read lock
preserve originating server id in Intvar events to avoid inifinite loops
2001-06-21 15:59:51 -06:00

25 lines
516 B
Text

drop table if exists t1;
drop table if exists t1;
--error 1051;
drop table t1;
create table t1(n int);
insert into t1 values(1);
create temporary table t1( n int);
insert into t1 values(2);
--error 1050;
create table t1(n int);
drop table t1;
select * from t1;
drop database if exists foo;
flush tables with read lock;
--error 1209
create database foo;
unlock tables;
create database foo;
show databases;
flush tables with read lock;
--error 1208
drop database foo;
unlock tables;
drop database foo;
show databases;