summaryrefslogtreecommitdiff
path: root/sql/sp_head.h
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2005-09-23 00:46:59 +0400
committerkonstantin@mysql.com <>2005-09-23 00:46:59 +0400
commit2d4c54ba1b12896c9993155f4c88194fc932aa0b (patch)
treec8753cbe4273232bc93f91ecd04ad7014cee9cdb /sql/sp_head.h
parent4f03ab494317f928283282b75fa9387656226d56 (diff)
parentcb77a6accbc591246de00f607d9ebd8e91c187f7 (diff)
downloadmariadb-git-2d4c54ba1b12896c9993155f4c88194fc932aa0b.tar.gz
Merge mysqldev@production.mysql.com:my/mysql-5.0-release
into mysql.com:/opt/local/work/mysql-5.0-root
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r--sql/sp_head.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h
index 59169dc35cd..ed0f3987e01 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -866,6 +866,12 @@ public:
virtual void print(String *str);
+ /*
+ This call is used to cleanup the instruction when a sensitive
+ cursor is closed. For now stored procedures always use materialized
+ cursors and the call is not used.
+ */
+ virtual void cleanup_stmt() { /* no op */ }
private:
sp_lex_keeper m_lex_keeper;
@@ -1036,4 +1042,7 @@ sp_add_to_query_tables(THD *thd, LEX *lex,
const char *db, const char *name,
thr_lock_type locktype);
+Item *sp_eval_func_item(THD *thd, Item **it, enum_field_types type,
+ Item *reuse, bool use_callers_arena);
+
#endif /* _SP_HEAD_H_ */