Commit a5998145 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

Record correct mutex (LOCK_STATUS and acl_cache) order for debugging.

parent 8a505980
...@@ -2770,6 +2770,7 @@ bool acl_reload(THD *thd) ...@@ -2770,6 +2770,7 @@ bool acl_reload(THD *thd)
} }
acl_cache->clear(0); acl_cache->clear(0);
mysql_mutex_record_order(&acl_cache->lock, &LOCK_status);
mysql_mutex_lock(&acl_cache->lock); mysql_mutex_lock(&acl_cache->lock);
old_acl_hosts= acl_hosts; old_acl_hosts= acl_hosts;
......
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