summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2011-11-25 14:57:27 +0400
committerSergey Petrunya <psergey@askmonty.org>2011-11-25 14:57:27 +0400
commit69e7b1887696a88472d25951341d5bb1df134c0b (patch)
treec02b51a10d09be263d3feab21766f4d350633582 /sql
parent3a9edc5f77a7e9f95dd03df719254386138793ba (diff)
downloadmariadb-git-69e7b1887696a88472d25951341d5bb1df134c0b.tar.gz
Remove garbage comments
Diffstat (limited to 'sql')
-rw-r--r--sql/opt_subselect.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/sql/opt_subselect.cc b/sql/opt_subselect.cc
index 45b8b2facf1..d9f02d381e4 100644
--- a/sql/opt_subselect.cc
+++ b/sql/opt_subselect.cc
@@ -2217,16 +2217,8 @@ void advance_sj_state(JOIN *join, table_map remaining_tables, uint idx,
pos->prefix_dups_producing_tables= join->cur_dups_producing_tables;
TABLE_LIST *emb_sj_nest;
if ((emb_sj_nest= new_join_tab->emb_sj_nest))
- {
- /// join->cur_sj_inner_tables |= emb_sj_nest->sj_inner_tables;
join->cur_dups_producing_tables |= emb_sj_nest->sj_inner_tables;
- /* Remove the sj_nest if all of its SJ-inner tables are in cur_table_map */
- /// if (!(remaining_tables &
- /// emb_sj_nest->sj_inner_tables & ~new_join_tab->table->map))
- /// join->cur_sj_inner_tables &= ~emb_sj_nest->sj_inner_tables;
- }
-
Semi_join_strategy_picker **strategy;
if (idx == join->const_tables)
{