diff options
Diffstat (limited to 'sql/sp.h')
-rw-r--r-- | sql/sp.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -18,7 +18,7 @@ #ifndef _SP_H_ #define _SP_H_ -// Return codes from sp_create_* and sp_drop_*: +// Return codes from sp_create_*, sp_drop_*, and sp_show_*: #define SP_OK 0 #define SP_KEY_NOT_FOUND -1 #define SP_OPEN_TABLE_FAILED -2 @@ -26,6 +26,7 @@ #define SP_DELETE_ROW_FAILED -4 #define SP_GET_FIELD_FAILED -5 #define SP_PARSE_ERROR -6 +#define SP_INTERNAL_ERROR -7 sp_head * sp_find_procedure(THD *thd, LEX_STRING *name); @@ -47,7 +48,7 @@ int sp_show_create_procedure(THD *thd, LEX_STRING *name); int -db_show_status_procedure(THD *thd, const char *wild); +sp_show_status_procedure(THD *thd, const char *wild); sp_head * sp_find_function(THD *thd, LEX_STRING *name); @@ -68,7 +69,7 @@ int sp_show_create_function(THD *thd, LEX_STRING *name); int -db_show_status_function(THD *thd, const char *wild); +sp_show_status_function(THD *thd, const char *wild); // QQ Temporary until the function call detection in sql_lex has been reworked. bool |