Commit 6e2da8d1 authored by unknown's avatar unknown

Merge fixes


sql/sql_union.cc:
  Some further merge fixes
parent d59c4576
...@@ -185,8 +185,6 @@ int st_select_lex_unit::prepare(THD *thd, select_result *sel_result, ...@@ -185,8 +185,6 @@ int st_select_lex_unit::prepare(THD *thd, select_result *sel_result,
union_result->not_describe=1; union_result->not_describe=1;
union_result->tmp_table_param=tmp_table_param; union_result->tmp_table_param=tmp_table_param;
for (SELECT_LEX *sl= select_cursor; sl; sl= sl->next_select())
{
for (SELECT_LEX *sl= select_cursor; sl; sl= sl->next_select()) for (SELECT_LEX *sl= select_cursor; sl; sl= sl->next_select())
{ {
JOIN *join= new JOIN(thd, sl->item_list, JOIN *join= new JOIN(thd, sl->item_list,
...@@ -215,7 +213,6 @@ int st_select_lex_unit::prepare(THD *thd, select_result *sel_result, ...@@ -215,7 +213,6 @@ int st_select_lex_unit::prepare(THD *thd, select_result *sel_result,
if (res || thd->is_fatal_error) if (res || thd->is_fatal_error)
goto err; goto err;
} }
}
item_list.empty(); item_list.empty();
thd->lex.current_select= lex_select_save; thd->lex.current_select= lex_select_save;
......
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