summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/sql_class.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index 9cd4258c0df..1ee5e4b4113 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -1923,8 +1923,8 @@ 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);
}
- mysql_mutex_unlock(&in_use->LOCK_thd_data);
}
+ mysql_mutex_unlock(&in_use->LOCK_thd_data);
}
DBUG_RETURN(signalled);
}