summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-07-02 13:12:18 +0300
committerbell@sanja.is.com.ua <>2003-07-02 13:12:18 +0300
commit2ae8a00b2a0e4bc11fb70f0161be34f1573a2f55 (patch)
treedccd7660a069e46152b806a02d2f37652155410a /sql/item_strfunc.h
parent5eaaf8e732b860195f0ffdf3f82d2064ef171b84 (diff)
downloadmariadb-git-2ae8a00b2a0e4bc11fb70f0161be34f1573a2f55.tar.gz
Item tree iterator
fixed dependence of items from reduced subquery (SCRUM)
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h16
1 files changed, 16 insertions, 0 deletions
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<Item> &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);
+ }
};