summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2013-05-03 16:07:13 +0300
committerunknown <sanja@askmonty.org>2013-05-03 16:07:13 +0300
commit682c8a36ca503f53db50628463424f205b609ab0 (patch)
tree2d99dc5d2696f3441d0a694f5da8ec9b09cbe9eb /sql/sql_lex.cc
parent1a7c4ac7ae5534381285f501afadae297cff3e4c (diff)
downloadmariadb-git-682c8a36ca503f53db50628463424f205b609ab0.tar.gz
MDEV-4290:
Fix agregate function resolution in derived tables (no name resolution over a derived table border)
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 5bacb675644..ab50ad99c28 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -1690,6 +1690,7 @@ void st_select_lex::init_select()
merged_into= 0;
m_non_agg_field_used= false;
m_agg_func_used= false;
+ name_visibility_map= 0;
}
/*