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.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc
index c3635e24407..bc81679a7fd 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -745,6 +745,7 @@ bool st_select_lex::cleanup()
error= (bool) ((uint) error | (uint) lex_unit->cleanup());
}
non_agg_fields.empty();
+ inner_refs_list.empty();
DBUG_RETURN(error);
}