1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix bug #11934 Two sequential FLUSH TABLES WITH READ LOCK hangs client

Bug was introduced by cset 1.1659.14.1. Before it server was silently
ignoring that lock can't be acquired because it already acquired.

This patch makes make_global_read_lock_block_commit() return without error
if lock already acquired.
This commit is contained in:
evgen@moonbone.local
2005-08-03 02:01:27 +04:00
parent 655a86a9e7
commit 706247caae
3 changed files with 11 additions and 1 deletions

View File

@ -101,3 +101,6 @@ table_id
Record-02
handler t1 close;
drop table t1;
FLUSH TABLES WITH READ LOCK ;
FLUSH TABLES WITH READ LOCK ;
UNLOCK TABLES;