Commit 211bc240 authored by unknown's avatar unknown

Post-merge fixes

parent 67d2ad6e
......@@ -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,
......
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