summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
authorunknown <ramil@mysql.com>2005-12-12 15:57:35 +0400
committerunknown <ramil@mysql.com>2005-12-12 15:57:35 +0400
commit1f61e98e1b0a57d75ab22f5f58af0bc10a8f4c82 (patch)
tree1a96f3b2990900225cd5360b77a720c4df1557bf /sql/sp_head.cc
parenta21e8517ed1f5ab23dfd31a03045ce2c12ba193d (diff)
downloadmariadb-git-1f61e98e1b0a57d75ab22f5f58af0bc10a8f4c82.tar.gz
Fix for bug #15630: Test case failure in sp-dynamic, sp-error, and sp.
sql/sp_head.cc: Fix for bug #15630: Test case failure in sp-dynamic, sp-error, and sp. - should pass a *char to the my_error() instead of the structure.
Diffstat (limited to 'sql/sp_head.cc')
-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));