29 #include <drizzled/dynamic_array.h>
30 #include <drizzled/optimizer/position.h>
31 #include <drizzled/sql_select.h>
32 #include <drizzled/tmp_table_param.h>
68 uint32_t const_tables;
69 uint32_t send_group_parts;
117 bool hidden_group_fields;
119 table_map const_table_map;
120 table_map found_const_table_map;
121 table_map outer_join;
123 ha_rows send_records;
124 ha_rows found_records;
125 ha_rows examined_rows;
127 ha_rows select_limit;
165 Table *exec_tmp_table2;
174 uint64_t select_options;
182 Item::cond_result cond_value;
183 Item::cond_result having_value;
208 Item **current_ref_pointer_array;
220 Table **table_reexec;
227 uint64_t select_options_arg,
238 uint64_t select_options_arg,
250 Select_Lex_Unit *
unit);
261 bool before_group_by,
262 bool recompute=
false);
264 inline void set_items_ref_array(
Item **ptr)
267 current_ref_pointer_array= ptr;
269 inline void init_items_ref_array()
273 current_ref_pointer_array=
items0;
282 void remove_subq_pushed_predicates(Item **where);
293 void save_join_tab();
295 bool send_row_on_empty_set()
297 return (do_send_rows && tmp_table_param.sum_func_count != 0 &&
301 bool is_top_level_join()
const;