Commit 89a26480 authored by Nirbhay Choubey's avatar Nirbhay Choubey

MDEV-9224: postfix - thd can be null in reload_acl_and_cache()

parent e6c0f25f
...@@ -314,7 +314,7 @@ bool reload_acl_and_cache(THD *thd, unsigned long long options, ...@@ -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
......
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