summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index 6cc6d730627..7f8d7ade67b 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"; }
- void set_outer_resolving()
- {
- item->set_outer_resolving();
- Item_str_func::set_outer_resolving();
- }
};