summaryrefslogtreecommitdiff
path: root/sql/lock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/lock.cc')
-rw-r--r--sql/lock.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/lock.cc b/sql/lock.cc
index d5124ebc0f8..54c7720e750 100644
--- a/sql/lock.cc
+++ b/sql/lock.cc
@@ -323,6 +323,8 @@ bool mysql_lock_tables(THD *thd, MYSQL_LOCK *sql_lock, uint flags)
(void) unlock_external(thd, sql_lock->table, sql_lock->table_count);
end:
+ THD_STAGE_INFO(thd, stage_after_table_lock);
+
if (thd->killed)
{
thd->send_kill_message();