mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.6 into 10.11
This commit is contained in:
@@ -13111,6 +13111,9 @@ LEX_USER *get_current_user(THD *thd, LEX_USER *user, bool lock)
|
||||
return dup;
|
||||
}
|
||||
|
||||
if (!initialized)
|
||||
return dup;
|
||||
|
||||
if (lock)
|
||||
mysql_mutex_lock(&acl_cache->lock);
|
||||
if (find_acl_role(dup->user.str, false))
|
||||
|
Reference in New Issue
Block a user