From 2ae8a00b2a0e4bc11fb70f0161be34f1573a2f55 Mon Sep 17 00:00:00 2001 From: "bell@sanja.is.com.ua" <> Date: Wed, 2 Jul 2003 13:12:18 +0300 Subject: Item tree iterator fixed dependence of items from reduced subquery (SCRUM) --- sql/item_strfunc.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'sql/item_strfunc.h') diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index 0c1cb5a2739..b38c7df4755 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -107,6 +107,11 @@ public: } void split_sum_func(Item **ref_pointer_array, List &fields); const char *func_name() const { return "concat_ws"; } + bool walk(Item_processor processor, byte *arg) + { + return separator->walk(processor, arg) || + Item_str_func::walk(processor, arg); + } }; class Item_func_reverse :public Item_str_func @@ -385,6 +390,11 @@ public: void fix_length_and_dec(); void update_used_tables(); const char *func_name() const { return "elt"; } + bool walk(Item_processor processor, byte *arg) + { + return item->walk(processor, arg) || + Item_str_func::walk(processor, arg); + } }; @@ -407,6 +417,12 @@ public: void fix_length_and_dec(); void update_used_tables(); const char *func_name() const { return "make_set"; } + + bool walk(Item_processor processor, byte *arg) + { + return item->walk(processor, arg) || + Item_str_func::walk(processor, arg); + } }; -- cgit v1.2.1