mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
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
This commit is contained in:
parent
585cec0564
commit
29898afbdd
10 changed files with 123 additions and 1 deletions
|
|
@ -134,6 +134,8 @@ public:
|
|||
Field *tmp_table_field() { return result_field; }
|
||||
Field *tmp_table_field(TABLE *t_arg);
|
||||
Item *get_tmp_table_item(THD *thd);
|
||||
|
||||
bool walk(Item_processor processor, byte *arg);
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -647,6 +649,11 @@ public:
|
|||
const_item_cache&= item->const_item();
|
||||
with_sum_func= with_sum_func || item->with_sum_func;
|
||||
}
|
||||
bool walk(Item_processor processor, byte *arg)
|
||||
{
|
||||
return item->walk(processor, arg) ||
|
||||
Item_int_func::walk(processor, arg);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -1024,6 +1031,8 @@ public:
|
|||
|
||||
bool fix_index();
|
||||
void init_search(bool no_order);
|
||||
|
||||
bool walk(Item_processor processor, byte *arg);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue