diff options
-rw-r--r-- | sql/sp_head.cc | 2 |
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)); |