summaryrefslogtreecommitdiff
path: root/sql/sql_union.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r--sql/sql_union.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc
index 1b3995f30be..cffbece2f18 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -367,8 +367,6 @@ int st_select_lex_unit::exec()
optimized= 1;
/* Send result to 'result' */
-
-
res= -1;
{
List<Item_func_match> empty_list;
@@ -405,7 +403,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,