summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-07-16 13:58:11 +0300
committerbell@sanja.is.com.ua <>2003-07-16 13:58:11 +0300
commita6b1a6fe3a5fdacfac754e447fa70a6647698bec (patch)
tree0db6e9b2aef22fadbddd32579f248502e6d9f1b8 /sql/item_strfunc.h
parenta7cd3c66b7a0a9bfd2a085c1e0f06067118678b5 (diff)
parenta35fff5bc38732d48472a64a4504bcead010a379 (diff)
downloadmariadb-git-a6b1a6fe3a5fdacfac754e447fa70a6647698bec.tar.gz
merge
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 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);
- }
};