summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorunknown <pem@mysql.com>2003-07-01 18:14:24 +0200
committerunknown <pem@mysql.com>2003-07-01 18:14:24 +0200
commit8070c06ae009e6dea64992419899d8a769458ddb (patch)
treef32432e07d69f450917cee2ac73414933049434b /sql/sp.h
parent31a58c4068e28405a8b23722b39033eb175b5dcf (diff)
downloadmariadb-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.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/sp.h b/sql/sp.h
index 3a021288907..bbf8832d55d 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -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_ */