Skip to content

Commit 10d7a2f

Browse files
Fix galera test failures.
1 parent e4a5267 commit 10d7a2f

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
@@ -2177,7 +2177,7 @@ bool THD::notify_shared_lock(MDL_context_owner *ctx_in_use,
21772177
#ifdef WITH_WSREP
21782178
{
21792179
signalled|= mysql_lock_abort_for_thread(this, thd_table);
2180-
if (WSREP(this) && wsrep_thd_is_BF((void *)this, FALSE))
2180+
if (this && WSREP(this) && wsrep_thd_is_BF((void *)this, FALSE))
21812181
{
21822182
WSREP_DEBUG("remove_table_from_cache: %llu",
21832183
(unsigned long long) this->real_id);

0 commit comments

Comments
 (0)