24#ifndef SQL_JOIN_OPTIMIZER_REPLACE_ITEM_H
25#define SQL_JOIN_OPTIMIZER_REPLACE_ITEM_H
65 bool need_exact_match,
Func_ptr_array *agg_items_to_copy =
nullptr);
75 bool need_exact_match,
76 bool window_frame_buffer =
false);
Helper class for copy_funcs(); represents an Item to copy from table to next tmp table.
Definition: temp_table_param.h:48
Base class that is used to represent any kind of expression in a relational query.
Definition: item.h:930
A typesafe replacement for DYNAMIC_ARRAY.
Definition: mem_root_array.h:426
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
Item * ReplaceSetVarItem(THD *thd, Item *item, Item *new_item)
Replace "@var:=<expr>" with "@var:=<tmp_table_column>" rather than "<tmp_table_column>".
Definition: replace_item.cc:204
void ReplaceMaterializedItems(THD *thd, Item *item, const Func_ptr_array &items_to_copy, bool need_exact_match, bool window_frame_buffer=false)
Like FindReplacementOrReplaceMaterializedItems, but only search below the item, ie.
Definition: replace_item.cc:157
Item * FindReplacementOrReplaceMaterializedItems(THD *thd, Item *item, const Func_ptr_array &items_to_copy, bool need_exact_match, Func_ptr_array *agg_items_to_copy=nullptr)
Definition: replace_item.cc:105