1
0
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:
Nirbhay Choubey
2015-12-23 09:51:32 -05:00
parent e6c0f25f04
commit 89a264809d

View File

@ -314,7 +314,7 @@ bool reload_acl_and_cache(THD *thd, unsigned long long options,
} }
#ifdef WITH_WSREP #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 In case of applier thread, do not wait for table share(s) to be