Browse Source

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

pull/209/head mariadb-galera-10.0.23
Nirbhay Choubey 10 years ago
parent
commit
89a264809d
  1. 2
      sql/sql_reload.cc

2
sql/sql_reload.cc

@ -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

Loading…
Cancel
Save