Post-merge fixes

This commit is contained in:
unknown 2003-12-10 00:26:23 +03:00
parent 67d2ad6e78
commit 211bc24063

View file

@ -143,7 +143,7 @@ int st_select_lex_unit::prepare(THD *thd_arg, select_result *sel_result)
first_select->braces= 1;
}
for (sl= select_cursor; sl; sl= sl->next_select())
for (;sl; sl= sl->next_select())
{
JOIN *join= new JOIN(thd_arg, sl->item_list,
sl->options | thd_arg->options | SELECT_NO_UNLOCK,