diff options
author | unknown <pem@mysql.com> | 2003-07-01 18:14:24 +0200 |
---|---|---|
committer | unknown <pem@mysql.com> | 2003-07-01 18:14:24 +0200 |
commit | 8070c06ae009e6dea64992419899d8a769458ddb (patch) | |
tree | f32432e07d69f450917cee2ac73414933049434b /sql/sp.h | |
parent | 31a58c4068e28405a8b23722b39033eb175b5dcf (diff) | |
download | mariadb-git-8070c06ae009e6dea64992419899d8a769458ddb.tar.gz |
SP cache (WL#730). (Mostly by vva, additions by pem.)
sql/sp.cc:
In-memory cache added.
sp_clear_function_cache() no longer needed.
sql/sp.h:
In-memory cache added.
sp_clear_function_cache() no longer needed.
sql/sql_class.cc:
In-memory cache added.
sql/sql_class.h:
In-memory cache added.
sql/sql_parse.cc:
In-memory cache added.
sp_clear_function_cache() no longer needed.
Don't delete sp_heads after each use.
Diffstat (limited to 'sql/sp.h')
-rw-r--r-- | sql/sp.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -53,15 +53,13 @@ bool sp_function_exists(THD *thd, LEX_STRING *name); -// QQ More temporary stuff until the real cache is implemented. This is -// needed since we have to read the functions before we do anything else. +// This is needed since we have to read the functions before we +// do anything else. void sp_add_fun_to_lex(LEX *lex, LEX_STRING fun); void sp_merge_funs(LEX *dst, LEX *src); int sp_cache_functions(THD *thd, LEX *lex); -void -sp_clear_function_cache(THD *thd); #endif /* _SP_H_ */ |