summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 450f677d363..008cc0b59aa 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -3044,7 +3044,7 @@ bool MYSQL_QUERY_LOG::write(THD *thd, time_t current_time,
if (thd->spcont)
if (my_b_printf(&log_file, "# Stored_routine: %s\n",
- ErrConvDQName(thd->spcont->sp).ptr()) == (uint) -1)
+ ErrConvDQName(thd->spcont->m_sp).ptr()) == (uint) -1)
tmp_errno= errno;
if ((thd->variables.log_slow_verbosity & LOG_SLOW_VERBOSITY_QUERY_PLAN) &&