Commit 1f61e98e authored by unknown's avatar unknown

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.
parent a21e8517
......@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment