diff options
author | pem@mysql.com <> | 2003-03-02 19:17:41 +0100 |
---|---|---|
committer | pem@mysql.com <> | 2003-03-02 19:17:41 +0100 |
commit | 8049daf202178f937b83124661faaad6003e366d (patch) | |
tree | f607e9e9c2756612d8e622c239e1781b56f51e63 /sql/sp.h | |
parent | b6ab762dc15a3ac4aa2528f9c9b2ba3725afe710 (diff) | |
download | mariadb-git-8049daf202178f937b83124661faaad6003e366d.tar.gz |
Made FUNCTIONs work in insert and select queries, as well as nested function invocations.
Had to add a cahing mechanism which is in parts an ugly kludge, but it will be
reworked once the real SP caching is implemented.
Diffstat (limited to 'sql/sp.h')
-rw-r--r-- | sql/sp.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -50,4 +50,16 @@ sp_drop_function(THD *thd, char *name, uint namelen); 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. +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_ */ |