1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

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

for future work.


Docs/sp-imp-spec.txt:
  Started on the FUNCTION parts...
Docs/sp-implemented.txt:
  Added som info on SET behaviour, and added Open questions.
sql/sp.cc:
  Renamed functions.
sql/sp.h:
  Renamed functions.
sql/sql_parse.cc:
  Renamed functions.
This commit is contained in:
unknown
2003-02-04 17:40:18 +01:00
parent 77f30e19a6
commit 565d98958e
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);