summaryrefslogtreecommitdiff
path: root/sql/sp_head.h
diff options
context:
space:
mode:
authorunknown <anozdrin/alik@ibm.>2007-05-29 21:22:33 +0400
committerunknown <anozdrin/alik@ibm.>2007-05-29 21:22:33 +0400
commit0e9f4eaaf3498fb3247defd032d4711746e4ec4b (patch)
tree655f13d13102baede6201d0392e0291e2ef699ad /sql/sp_head.h
parent33409eb87b8edae7ccb13bf0bf559573e891185c (diff)
downloadmariadb-git-0e9f4eaaf3498fb3247defd032d4711746e4ec4b.tar.gz
Refactoring patch:
1. Refactor sp_show_create_function() and sp_show_create_procedure() into show_create_routine(). 2. Code cleanup: eliminate proxy functions. sql/sp.cc: Code cleanup: eliminate proxy functions. sql/sp.h: Code cleanup: eliminate proxy functions. sql/sp_head.cc: 1. Refactor sp_show_create_function() and sp_show_create_procedure() into show_create_routine(). 2. Code cleanup: eliminate proxy functions. sql/sp_head.h: 1. Refactor sp_show_create_function() and sp_show_create_procedure() into show_create_routine(). 2. Code cleanup: eliminate proxy functions. sql/sql_parse.cc: Code cleanup: use new functions.
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r--sql/sp_head.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h
index 8ebba314ec5..4e3e11e468d 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -225,11 +225,8 @@ public:
bool
execute_procedure(THD *thd, List<Item> *args);
- int
- show_create_procedure(THD *thd);
-
- int
- show_create_function(THD *thd);
+ bool
+ show_create_routine(THD *thd, int type);
void
add_instr(sp_instr *instr);