summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r--sql/sp_head.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index fb99ed1bb5c..c6e49fae801 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -2387,9 +2387,9 @@ sp_lex_keeper::reset_lex_and_exec_core(THD *thd, uint *nextp,
m_lex->unit.cleanup();
- thd->proc_info="closing tables";
+ THD_PROC_INFO(thd, "closing tables");
close_thread_tables(thd);
- thd->proc_info= 0;
+ THD_PROC_INFO(thd, 0);
if (m_lex->query_tables_own_last)
{