Skip to content

Commit

Permalink
Fix galera test failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariadb-SachinSetiya committed May 8, 2017
1 parent e4a5267 commit 10d7a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/sql_class.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 10d7a2f

Please sign in to comment.