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