diff options
author | unknown <pem@mysql.comhem.se> | 2004-10-22 19:05:17 +0200 |
---|---|---|
committer | unknown <pem@mysql.comhem.se> | 2004-10-22 19:05:17 +0200 |
commit | a1c768664fc28f7a124afe188df0133af4d71c9f (patch) | |
tree | bcc3c64a109a454f469b5e05f9f3ada2bdc7158d /sql/sp.h | |
parent | 8c17290e2fef329f9624389083637aeef5e80424 (diff) | |
download | mariadb-git-a1c768664fc28f7a124afe188df0133af4d71c9f.tar.gz |
Fixed BUG#6027: Stored procedures can be renamed.
Removed the support for renaming SPs. It's non-standard, conflicted with a standard
syntax, and was a bit broken anyway.
mysql-test/r/sp-error.result:
Removed test for renaming procedures with alter.
mysql-test/r/sp.result:
Removed test for renaming procedures with alter.
mysql-test/t/sp-error.test:
Removed test for renaming procedures with alter.
mysql-test/t/sp.test:
Removed test for renaming procedures with alter.
sql/sp.cc:
Removed support for renaming SPs. It's non-standard, conflicted with a standard
syntax, and was a bit broken anyway.
sql/sp.h:
Removed support for renaming SPs. It's non-standard, conflicted with a standard
syntax, and was a bit broken anyway.
sql/sql_parse.cc:
Removed support for renaming SPs. It's non-standard, conflicted with a standard
syntax, and was a bit broken anyway.
sql/sql_yacc.yy:
Removed support for renaming SPs. It's non-standard, conflicted with a standard
syntax, and was a bit broken anyway.
Diffstat (limited to 'sql/sp.h')
-rw-r--r-- | sql/sp.h | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -44,9 +44,7 @@ sp_drop_procedure(THD *thd, sp_name *name); int -sp_update_procedure(THD *thd, sp_name *name, - char *newname, uint newnamelen, - st_sp_chistics *chistics); +sp_update_procedure(THD *thd, sp_name *name, st_sp_chistics *chistics); int sp_show_create_procedure(THD *thd, sp_name *name); @@ -64,9 +62,7 @@ int sp_drop_function(THD *thd, sp_name *name); int -sp_update_function(THD *thd, sp_name *name, - char *newname, uint newnamelen, - st_sp_chistics *chistics); +sp_update_function(THD *thd, sp_name *name, st_sp_chistics *chistics); int sp_show_create_function(THD *thd, sp_name *name); |