Skip to content

Commit 6b8225f

Browse files
author
Jan Lindström
authored
Merge pull request #371 from grooverdan/10.1-wsrep-this_not_null
Remove compile warning - "this" canot be null
2 parents acce1f3 + 3d4882f commit 6b8225f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/sql_class.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2011,7 +2011,7 @@ bool THD::notify_shared_lock(MDL_context_owner *ctx_in_use,
20112011
if (!thd_table->needs_reopen())
20122012
{
20132013
signalled|= mysql_lock_abort_for_thread(this, thd_table);
2014-
if (this && WSREP(this) && wsrep_thd_is_BF(this, FALSE))
2014+
if (WSREP(this) && wsrep_thd_is_BF(this, FALSE))
20152015
{
20162016
WSREP_DEBUG("remove_table_from_cache: %llu",
20172017
(unsigned long long) this->real_id);

0 commit comments

Comments
 (0)