Skip to content

Commit

Permalink
MDEV-9224: postfix - thd can be null in reload_acl_and_cache()
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirbhay Choubey committed Dec 23, 2015
1 parent e6c0f25 commit 89a2648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/sql_reload.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89a2648

Please sign in to comment.