Commit b86abed5 authored by Sergey Petrunya's avatar Sergey Petrunya

MWL#90: Address review feedback part #17

parent dc937fb5
...@@ -7808,7 +7808,8 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond) ...@@ -7808,7 +7808,8 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond)
OUTER_REF_TABLE_BIT | RAND_TABLE_BIT); OUTER_REF_TABLE_BIT | RAND_TABLE_BIT);
for (JOIN_TAB *tab= first_linear_tab(join, WITHOUT_CONST_TABLES); for (JOIN_TAB *tab= first_linear_tab(join, WITHOUT_CONST_TABLES);
tab; tab;
tab= next_linear_tab(join, tab, WITH_BUSH_ROOTS)) tab= (tab == last_tab)? NULL: next_linear_tab(join, tab,
WITH_BUSH_ROOTS))
{ {
if (!tab->table) if (!tab->table)
{ {
...@@ -7864,8 +7865,8 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond) ...@@ -7864,8 +7865,8 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond)
if (cond_tab->select) if (cond_tab->select)
cond_tab->select->cond= cond_tab->select_cond; cond_tab->select->cond= cond_tab->select_cond;
} }
if (tab == last_tab) //if (tab == last_tab) //psergey-todo: fix this.
break; // break;
} }
first_inner_tab= first_inner_tab->first_upper; first_inner_tab= first_inner_tab->first_upper;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment