diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2015-12-23 09:51:32 -0500 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2015-12-23 09:51:32 -0500 |
commit | 89a264809d660fb5a4e7d43e9324b1f529a3a1d7 (patch) | |
tree | 54ea24cd16dd324f75e7649f8982953cb4f7b64f /sql/sql_reload.cc | |
parent | e6c0f25f04c0dd6be7cd3973bf1a58dff213f985 (diff) | |
download | mariadb-git-89a264809d660fb5a4e7d43e9324b1f529a3a1d7.tar.gz |
MDEV-9224: postfix - thd can be null in reload_acl_and_cache()mariadb-galera-10.0.23
Diffstat (limited to 'sql/sql_reload.cc')
-rw-r--r-- | sql/sql_reload.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_reload.cc b/sql/sql_reload.cc index ef699962777..f3909913c5b 100644 --- a/sql/sql_reload.cc +++ b/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 |