Skip to content

Commit

Permalink
Merge pull request #371 from grooverdan/10.1-wsrep-this_not_null
Browse files Browse the repository at this point in the history
Remove compile warning - "this" canot be null
  • Loading branch information
Jan Lindström committed May 2, 2017
2 parents acce1f3 + 3d4882f commit 6b8225f
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 @@ -2011,7 +2011,7 @@ bool THD::notify_shared_lock(MDL_context_owner *ctx_in_use,
if (!thd_table->needs_reopen())
{
signalled|= mysql_lock_abort_for_thread(this, thd_table);
if (this && WSREP(this) && wsrep_thd_is_BF(this, FALSE))
if (WSREP(this) && wsrep_thd_is_BF(this, FALSE))
{
WSREP_DEBUG("remove_table_from_cache: %llu",
(unsigned long long) this->real_id);
Expand Down

0 comments on commit 6b8225f

Please sign in to comment.