From 6adddca80ec5ec972067917c54465d051b7d1cf4 Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Wed, 22 Jun 2011 01:57:28 +0400 Subject: Make semi-joins work with outer joins part #1: - Make make_outerjoin_info() correctly process semi-join nests - Make make_join_select() attach conditions to the right places. --- sql/opt_subselect.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sql/opt_subselect.h') diff --git a/sql/opt_subselect.h b/sql/opt_subselect.h index 4d89609e1a8..571fcbaa935 100644 --- a/sql/opt_subselect.h +++ b/sql/opt_subselect.h @@ -285,7 +285,9 @@ void restore_prev_sj_state(const table_map remaining_tables, const JOIN_TAB *tab, uint idx); void fix_semijoin_strategies_for_picked_join_order(JOIN *join); -bool setup_sj_materialization(JOIN_TAB *tab); + +bool setup_sj_materialization_part1(JOIN_TAB *sjm_tab); +bool setup_sj_materialization_part2(JOIN_TAB *sjm_tab); TABLE *create_duplicate_weedout_tmp_table(THD *thd, uint uniq_tuple_length_arg, SJ_TMP_TABLE *sjtbl); -- cgit v1.2.1