diff options
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r-- | sql/sql_union.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc index 0dcf9f4731b..82486333ac9 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -366,8 +366,6 @@ int st_select_lex_unit::exec() optimized= 1; /* Send result to 'result' */ - - res= -1; { List<Item_func_match> empty_list; @@ -404,7 +402,7 @@ int st_select_lex_unit::exec() if (!join) { /* - allocate JOIN for fake select only once (privent + allocate JOIN for fake select only once (prevent mysql_select automatic allocation) */ if (!(fake_select_lex->join= new JOIN(thd, item_list, thd->options, |