1
drop table if exists t1,t2;
2
CREATE DATABASE mysqltest_1;
3
FLUSH TABLES WITH READ LOCK;
4
DROP DATABASE mysqltest_1;
5
DROP DATABASE mysqltest_1;
6
ERROR HY000: Can't execute the query because you have a conflicting read lock
8
DROP DATABASE mysqltest_1;
9
ERROR HY000: Can't drop database 'mysqltest_1'; database doesn't exist