summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorsergefp@mysql.com <>2005-08-03 03:37:32 +0000
committersergefp@mysql.com <>2005-08-03 03:37:32 +0000
commitb6a6fe0849a3cba46c4ed6446612bfdb29d162ba (patch)
treeab04bd1a5e1f34ad54866fd6df3fab3dfb0ae2e2 /sql/sp.h
parentde02193bddedd55364f6d9e7c29c240a2dddb52b (diff)
downloadmariadb-git-b6a6fe0849a3cba46c4ed6446612bfdb29d162ba.tar.gz
Prelocking-free SPs, post-review fixes:
* Don't activate prelocking mode for evaluating procedure arguments when it is not necessary. * Code structure simplification and cleanup. * Cleanup in .test files
Diffstat (limited to 'sql/sp.h')
-rw-r--r--sql/sp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sp.h b/sql/sp.h
index 716f3d90f55..3c837f8b586 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -79,8 +79,8 @@ sp_show_status_function(THD *thd, const char *wild);
Procedures for pre-caching of stored routines and building table list
for prelocking.
*/
-bool sp_need_cache_routines(THD *thd, SQL_LIST *routines_list,
- bool *need_skip_first);
+void sp_get_prelocking_info(THD *thd, bool *need_prelocking,
+ bool *first_no_prelocking);
void sp_add_used_routine(LEX *lex, Query_arena *arena,
sp_name *rt, char rt_type);
void sp_update_sp_used_routines(HASH *dst, HASH *src);