summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorunknown <pem@mysql.com>2005-12-06 13:34:18 +0100
committerunknown <pem@mysql.com>2005-12-06 13:34:18 +0100
commit47fe447536b84908e176db62ef821afee0f923ff (patch)
tree22e589d866e2e6c9864012307d0df61496105a96 /sql/sp.h
parentb04f21b571ebe197029614309cd1d1c11ff0e85d (diff)
parentd4088df5e9a02e714d85f79bec3ea97cdd8128c6 (diff)
downloadmariadb-git-47fe447536b84908e176db62ef821afee0f923ff.tar.gz
Merge mysql.com:/usr/local/bk/mysql-5.0
into mysql.com:/usr/home/pem/bug14233/mysql-5.0 mysql-test/r/sp-error.result: Auto merged mysql-test/t/sp.test: Auto merged sql/sp.cc: Auto merged sql/sp.h: Auto merged sql/sql_base.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_trigger.h: Auto merged sql/sql_yacc.yy: Auto merged sql/share/errmsg.txt: SCCS merged
Diffstat (limited to 'sql/sp.h')
-rw-r--r--sql/sp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/sp.h b/sql/sp.h
index 7f314b8903e..235eb5cba37 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -84,11 +84,11 @@ void sp_add_used_routine(LEX *lex, Query_arena *arena,
sp_name *rt, char rt_type);
void sp_remove_not_own_routines(LEX *lex);
void sp_update_sp_used_routines(HASH *dst, HASH *src);
-bool sp_cache_routines_and_add_tables(THD *thd, LEX *lex,
- bool first_no_prelock);
-void sp_cache_routines_and_add_tables_for_view(THD *thd, LEX *lex,
- LEX *aux_lex);
-void sp_cache_routines_and_add_tables_for_triggers(THD *thd, LEX *lex,
+int sp_cache_routines_and_add_tables(THD *thd, LEX *lex,
+ bool first_no_prelock, bool *tabs_changed);
+int sp_cache_routines_and_add_tables_for_view(THD *thd, LEX *lex,
+ LEX *aux_lex);
+int sp_cache_routines_and_add_tables_for_triggers(THD *thd, LEX *lex,
Table_triggers_list *triggers);
extern "C" byte* sp_sroutine_key(const byte *ptr, uint *plen, my_bool first);