summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/sp_head.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index 6814bdfa8f2..8369a9611aa 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -911,7 +911,7 @@ void sp_head::recursion_level_error()
THD *thd= current_thd;
my_error(ER_SP_RECURSION_LIMIT, MYF(0),
thd->variables.max_sp_recursion_depth,
- m_name);
+ m_name.str);
}
else
my_error(ER_SP_NO_RECURSION, MYF(0));