mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 07:05:33 +02:00
MDEV-5367 Server crashes in acl_authenticate on concurrent thread connection, FLUSH PRIVILEGES
fix a copy-paste error, introduced in role refactoring
This commit is contained in:
parent
ab3604989c
commit
5290811c5c
1 changed files with 1 additions and 1 deletions
|
|
@ -11044,7 +11044,7 @@ static bool find_mpvio_user(MPVIO_EXT *mpvio)
|
|||
|
||||
ACL_USER *user= find_user_or_anon(sctx->host, sctx->user, sctx->ip);
|
||||
if (user)
|
||||
mpvio->acl_user= user->copy(&mem);
|
||||
mpvio->acl_user= user->copy(mpvio->thd->mem_root);
|
||||
|
||||
mysql_mutex_unlock(&acl_cache->lock);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue