diff options
author | unknown <gluh@gluh.mysql.r18.ru> | 2003-08-27 18:03:39 +0500 |
---|---|---|
committer | unknown <gluh@gluh.mysql.r18.ru> | 2003-08-27 18:03:39 +0500 |
commit | 5f8cc0998f6366c46cc20e42e4989f8f3f468f03 (patch) | |
tree | f67788457623bbbf382374756ab4f3f6833bc25e /mysql-test/r/drop.result | |
parent | 91dc31d38334cddc0b47c9ac0c0be338fc8cfd20 (diff) | |
download | mariadb-git-5f8cc0998f6366c46cc20e42e4989f8f3f468f03.tar.gz |
Fix for bug #799 FLUSH TABLES WITH READ LOCK does not block CREATE TABLE
Diffstat (limited to 'mysql-test/r/drop.result')
-rw-r--r-- | mysql-test/r/drop.result | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/drop.result b/mysql-test/r/drop.result index 367b28e9bf7..dbb6800cb75 100644 --- a/mysql-test/r/drop.result +++ b/mysql-test/r/drop.result @@ -44,3 +44,13 @@ mysql test drop database mysqltest; ERROR HY000: Can't drop database 'mysqltest'; database doesn't exist +drop table t1; +flush tables with read lock; +create table t1(n int); +ERROR HY000: Table 't1' was locked with a READ lock and can't be updated +unlock tables; +create table t1(n int); +show tables; +Tables_in_test +t1 +drop table t1; |