test if dirty close releases global read lock held by a thread

parent 23e031f2
...@@ -32,3 +32,13 @@ connection con2; ...@@ -32,3 +32,13 @@ connection con2;
unlock tables; unlock tables;
connection con1; connection con1;
reap; reap;
# test if dirty close releases global read lock
connection con1;
create table t1 (n int);
flush tables with read lock;
dirty_close con1;
connection con2;
insert into t1 values (345);
select * from t1;
drop table t1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment