summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorunknown <msvensson@shellback.(none)>2006-07-26 12:40:26 +0200
committerunknown <msvensson@shellback.(none)>2006-07-26 12:40:26 +0200
commit8bf8776cd6d7d9a8410250118937214c68d9dafd (patch)
tree77abca7b2deadc45846e687421ca9b604f0b3a5e /sql/sp.h
parent8e12b66bd047719b0d36f9352747b43c05ca6206 (diff)
downloadmariadb-git-8bf8776cd6d7d9a8410250118937214c68d9dafd.tar.gz
Bug#21039 Transaction cache not flushed after SELECT CREATE
- Add prelocking for stored procedures that uses sp or sf - Update test result for sp_error(reported as bug#21294) - Make note about new error message from sp-error(bug#17244) mysql-test/r/sp-error.result: Update test result(reported as bug#21294) mysql-test/r/sp_notembedded.result: Update test result after disabling test case mysql-test/t/sp-error.test: Add note about the faulty error message mysql-test/t/sp_notembedded.test: Disable test case until bug#17244 has been fixed sql/sp.cc: Add prelocking for all stored procedures that uses another sp or sf sql/sp.h: Add prelocking for all stored procedures that uses another sp or sf sql/sql_base.cc: Add prelocking for all stored procedures that uses another sp or sf
Diffstat (limited to 'sql/sp.h')
-rw-r--r--sql/sp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sp.h b/sql/sp.h
index 631b8a87aa2..80430791a5a 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -88,8 +88,7 @@ void sp_add_used_routine(LEX *lex, Query_arena *arena,
void sp_remove_not_own_routines(LEX *lex);
void sp_update_sp_used_routines(HASH *dst, HASH *src);
int sp_cache_routines_and_add_tables(THD *thd, LEX *lex,
- bool first_no_prelock,
- bool *tabs_changed);
+ bool first_no_prelock);
int sp_cache_routines_and_add_tables_for_view(THD *thd, LEX *lex,
TABLE_LIST *view);
int sp_cache_routines_and_add_tables_for_triggers(THD *thd, LEX *lex,