diff options
author | sergefp@mysql.com <> | 2005-08-03 03:37:32 +0000 |
---|---|---|
committer | sergefp@mysql.com <> | 2005-08-03 03:37:32 +0000 |
commit | b6a6fe0849a3cba46c4ed6446612bfdb29d162ba (patch) | |
tree | ab04bd1a5e1f34ad54866fd6df3fab3dfb0ae2e2 /sql/sp.h | |
parent | de02193bddedd55364f6d9e7c29c240a2dddb52b (diff) | |
download | mariadb-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |