mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-9224: postfix - thd can be null in reload_acl_and_cache()
This commit is contained in:
@ -314,7 +314,7 @@ bool reload_acl_and_cache(THD *thd, unsigned long long options,
|
||||
}
|
||||
|
||||
#ifdef WITH_WSREP
|
||||
if (thd->wsrep_applier)
|
||||
if (thd && thd->wsrep_applier)
|
||||
{
|
||||
/*
|
||||
In case of applier thread, do not wait for table share(s) to be
|
||||
|
Reference in New Issue
Block a user