37
class JOIN :public memory::SqlAlloc
37
class Join :public memory::SqlAlloc
39
JOIN(const JOIN &rhs); /**< not implemented */
40
JOIN& operator=(const JOIN &rhs); /**< not implemented */
39
Join(const Join &rhs); /**< not implemented */
40
Join& operator=(const Join &rhs); /**< not implemented */
43
43
* Contains a partial query execution plan which is extended during
104
104
simple_xxxxx is set if order_st/GROUP BY doesn't include any references
105
to other tables than the first non-constant table in the JOIN.
105
to other tables than the first non-constant table in the Join.
106
106
It's also set if order_st/GROUP BY is empty.
108
108
bool simple_order;
179
179
Tmp_Table_Param tmp_table_param;
180
180
DRIZZLE_LOCK *lock;
182
JOIN *tmp_join; /**< copy of this JOIN to be used with temporary tables */
182
Join *tmp_join; /**< copy of this Join to be used with temporary tables */
183
183
ROLLUP rollup; /**< Used with rollup */
184
184
DYNAMIC_ARRAY keyuse;
185
185
Item::cond_result cond_value;
225
225
/* end of allocation caching storage */
227
227
/** Constructors */
228
JOIN(Session *session_arg,
228
Join(Session *session_arg,
229
229
List<Item> &fields_arg,
230
230
uint64_t select_options_arg,
231
231
select_result *result_arg)
528
enum_nested_loop_state evaluate_join_record(JOIN *join, JoinTable *join_tab, int error);
529
enum_nested_loop_state evaluate_null_complemented_join_record(JOIN *join, JoinTable *join_tab);
530
enum_nested_loop_state flush_cached_records(JOIN *join, JoinTable *join_tab, bool skip_last);
531
enum_nested_loop_state end_send(JOIN *join, JoinTable *join_tab, bool end_of_records);
532
enum_nested_loop_state end_write(JOIN *join, JoinTable *join_tab, bool end_of_records);
533
enum_nested_loop_state end_update(JOIN *join, JoinTable *join_tab, bool end_of_records);
534
enum_nested_loop_state end_unique_update(JOIN *join, JoinTable *join_tab, bool end_of_records);
528
enum_nested_loop_state evaluate_join_record(Join *join, JoinTable *join_tab, int error);
529
enum_nested_loop_state evaluate_null_complemented_join_record(Join *join, JoinTable *join_tab);
530
enum_nested_loop_state flush_cached_records(Join *join, JoinTable *join_tab, bool skip_last);
531
enum_nested_loop_state end_send(Join *join, JoinTable *join_tab, bool end_of_records);
532
enum_nested_loop_state end_write(Join *join, JoinTable *join_tab, bool end_of_records);
533
enum_nested_loop_state end_update(Join *join, JoinTable *join_tab, bool end_of_records);
534
enum_nested_loop_state end_unique_update(Join *join, JoinTable *join_tab, bool end_of_records);
536
536
} /* namespace drizzled */