diff options
author | unknown <bell@sanja.is.com.ua> | 2003-07-16 13:58:11 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2003-07-16 13:58:11 +0300 |
commit | eba0a3aaadc3c82a87c60d6c58957ad776fba2ff (patch) | |
tree | 0db6e9b2aef22fadbddd32579f248502e6d9f1b8 /sql/item_strfunc.h | |
parent | 6d7c4021f8312ac0e0727b73ffba671384f23af3 (diff) | |
parent | a41a43f99d053b96821d0c7388126ca581146933 (diff) | |
download | mariadb-git-eba0a3aaadc3c82a87c60d6c58957ad776fba2ff.tar.gz |
merge
sql/item_cmpfunc.cc:
Auto merged
sql/item_func.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index b38c7df4755..4225dd43b12 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -372,29 +372,13 @@ public: class Item_func_elt :public Item_str_func { - Item *item; - public: - Item_func_elt(Item *a,List<Item> &list) :Item_str_func(list),item(a) {} - ~Item_func_elt() { delete item; } + Item_func_elt(List<Item> &list) :Item_str_func(list) {} double val(); longlong val_int(); String *val_str(String *str); - bool fix_fields(THD *thd, TABLE_LIST *tlist, Item **ref) - { - return (item->fix_fields(thd, tlist, &item) || - item->check_cols(1) || - Item_func::fix_fields(thd, tlist, ref)); - } - void split_sum_func(Item **ref_pointer_array, List<Item> &fields); 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); - } }; |