diff options
author | unknown <serg@serg.mylan> | 2003-07-15 14:58:04 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-07-15 14:58:04 +0200 |
commit | 5aa330863bad40282cd26feb3bacf105f785032c (patch) | |
tree | f96f1bb78939f05b9e3cfc29c02f3823b908475c /sql/item_func.h | |
parent | 5c0075496ec02ab882cd5e8b5e12a4e159d92047 (diff) | |
parent | 4b3eecf46b640b3601527ea59d819ddaec5820f8 (diff) | |
download | mariadb-git-5aa330863bad40282cd26feb3bacf105f785032c.tar.gz |
Merge bk-internal:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
sql/item_func.h:
Auto merged
sql/sql_yacc.yy:
Auto merged
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index cb3869bd7cc..aefecdbe94d 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -625,33 +625,14 @@ public: class Item_func_field :public Item_int_func { - Item *item; String value,tmp; Item_result cmp_type; DTCollation cmp_collation; public: - Item_func_field(Item *a,List<Item> &list) :Item_int_func(list),item(a) {} - ~Item_func_field() { delete item; } + Item_func_field(List<Item> &list) :Item_int_func(list) {} longlong val_int(); - bool fix_fields(THD *thd,struct st_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 update_used_tables() - { - item->update_used_tables() ; Item_func::update_used_tables(); - used_tables_cache|= item->used_tables(); - const_item_cache&= item->const_item(); - } const char *func_name() const { return "field"; } void fix_length_and_dec(); - void set_outer_resolving() - { - item->set_outer_resolving(); - Item_int_func::set_outer_resolving(); - } }; |