mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MWL#90: Address review feedback part #17
This commit is contained in:
@ -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)
|
|||||||
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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user