diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2011-06-22 01:57:28 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2011-06-22 01:57:28 +0400 |
commit | 6adddca80ec5ec972067917c54465d051b7d1cf4 (patch) | |
tree | a57908fb25ab407c1262a1873a1f436478191cb6 /sql/opt_subselect.h | |
parent | e1d734f383ce173871f8715eef273bdd0e070cc5 (diff) | |
download | mariadb-git-6adddca80ec5ec972067917c54465d051b7d1cf4.tar.gz |
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.
Diffstat (limited to 'sql/opt_subselect.h')
-rw-r--r-- | sql/opt_subselect.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |