summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-07-02 13:12:18 +0300
committerunknown <bell@sanja.is.com.ua>2003-07-02 13:12:18 +0300
commit29898afbdd4fde10353695365eb4278ad4d005b7 (patch)
treedccd7660a069e46152b806a02d2f37652155410a /sql/item_strfunc.h
parent585cec056465764a3812e8d9396d8ca7d501637a (diff)
downloadmariadb-git-29898afbdd4fde10353695365eb4278ad4d005b7.tar.gz
Item tree iterator
fixed dependence of items from reduced subquery (SCRUM) sql/item.cc: fixed dependence of items from reduced subquery sql/item.h: fixed dependence of items from reduced subquery Item tree iterator sql/item_cmpfunc.cc: Item tree iterator sql/item_cmpfunc.h: Item tree iterator sql/item_func.cc: Item tree iterator sql/item_func.h: Item tree iterator sql/item_row.cc: Item tree iterator sql/item_row.h: Item tree iterator sql/item_strfunc.h: Item tree iterator sql/item_subselect.cc: Item tree iterator
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);
+ }
};