1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Some new stuff in the Docs/sp-* files, and renamed a few functions in preparation

for future work.
This commit is contained in:
pem@mysql.com
2003-02-04 17:40:18 +01:00
parent b43d7af60e
commit f2d6ec9321
5 changed files with 77 additions and 14 deletions

View File

@ -2833,7 +2833,7 @@ mysql_execute_command(THD *thd)
sp_head *sp;
s= (Item_string*)lex->value_list.head();
sp= sp_find(thd, s);
sp= sp_find_procedure(thd, s);
if (! sp)
{
send_error(thd, ER_SP_DOES_NOT_EXIST);
@ -2862,7 +2862,7 @@ mysql_execute_command(THD *thd)
sp_head *sp;
s= (Item_string*)lex->value_list.head();
sp= sp_find(thd, s);
sp= sp_find_procedure(thd, s);
if (! sp)
{
send_error(thd, ER_SP_DOES_NOT_EXIST);
@ -2882,7 +2882,7 @@ mysql_execute_command(THD *thd)
sp_head *sp;
s = (Item_string*)lex->value_list.head();
sp = sp_find(thd, s);
sp = sp_find_procedure(thd, s);
if (! sp)
{
send_error(thd, ER_SP_DOES_NOT_EXIST);
@ -2892,7 +2892,7 @@ mysql_execute_command(THD *thd)
{
String *name = s->const_string();
res= sp_drop(thd, name->c_ptr(), name->length());
res= sp_drop_procedure(thd, name->c_ptr(), name->length());
if (res != 0)
{
send_error(thd, ER_SP_DROP_FAILED);