Commit 1f61e98e authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));