diff options
author | Sachin Setiya <sachin.setiya@mariadb.com> | 2017-05-08 16:00:23 +0530 |
---|---|---|
committer | Sachin Setiya <sachin.setiya@mariadb.com> | 2017-05-08 16:00:23 +0530 |
commit | 10d7a2f8e0e9076596ecbe9531d0448837cabf63 (patch) | |
tree | fd4cf38fa50d92c73cfb37c7e7d206a0b6f17518 | |
parent | e4a52670f495c01307b124d729c29c7ef21be2ca (diff) | |
download | mariadb-git-10d7a2f8e0e9076596ecbe9531d0448837cabf63.tar.gz |
Fix galera test failures.
-rw-r--r-- | sql/sql_class.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index a8db8463e8e..92bccadc84b 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -2177,7 +2177,7 @@ bool THD::notify_shared_lock(MDL_context_owner *ctx_in_use, #ifdef WITH_WSREP { signalled|= mysql_lock_abort_for_thread(this, thd_table); - if (WSREP(this) && wsrep_thd_is_BF((void *)this, FALSE)) + if (this && WSREP(this) && wsrep_thd_is_BF((void *)this, FALSE)) { WSREP_DEBUG("remove_table_from_cache: %llu", (unsigned long long) this->real_id); |