summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
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.h
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.h')
-rw-r--r--sql/sql_lex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index a3240d3bcab..4b4496a7df8 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -783,6 +783,9 @@ public:
*/
List<String> *prev_join_using;
+ /* namp of nesting SELECT visibility (for aggregate functions check) */
+ nesting_map name_visibility_map;
+
void init_query();
void init_select();
st_select_lex_unit* master_unit();