diff options
Diffstat (limited to 'mysql-test/r/handler.result')
-rw-r--r-- | mysql-test/r/handler.result | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/mysql-test/r/handler.result b/mysql-test/r/handler.result index 9b0c6dbc263..104025e83eb 100644 --- a/mysql-test/r/handler.result +++ b/mysql-test/r/handler.result @@ -1,4 +1,4 @@ -drop table if exists t1; +drop table if exists t1,t3,t4,t5; create table t1 (a int, b char(10), key a(a), key b(a,b)); insert into t1 values (17,"ddd"),(18,"eee"),(19,"fff"),(19,"yyy"), @@ -463,3 +463,22 @@ Table Op Msg_type Msg_text test.t1 optimize status OK proceed with the normal connection drop table t1; +create table t1 (c1 int); +insert into t1 values (14397); +flush tables with read lock; +drop table t1; +ERROR HY000: Can't execute the query because you have a conflicting read lock +send the below to another connection, do not wait for the result + drop table t1; +proceed with the normal connection +select * from t1; +c1 +14397 +unlock tables; +read the result from the other connection +proceed with the normal connection +select * from t1; +ERROR 42S02: Table 'test.t1' doesn't exist +drop table if exists t1; +Warnings: +Note 1051 Unknown table 't1' |