summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-04-26 20:11:40 +0300
committerMonty <monty@mariadb.org>2016-04-26 20:11:40 +0300
commitb7ad1ba5d121d4fe4b0655e46076b6e50754b4e9 (patch)
tree18125449cb3c393b15229ea9e7ef526a3028954f /sql/sql_class.cc
parent44554d611194e2ac02e5beaf4b88ffe5a349ebb4 (diff)
downloadmariadb-git-b7ad1ba5d121d4fe4b0655e46076b6e50754b4e9.tar.gz
Fixed mutex that wasn't properly unlocked (typo in last patch)
Diffstat (limited to 'sql/sql_class.cc')
-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);
}