diff options
author | Igor Babaev <igor@askmonty.org> | 2016-03-23 16:09:58 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2016-03-23 16:09:58 -0700 |
commit | 82cb35be11c566e4675bd14393cfa7157a280b93 (patch) | |
tree | 4f00940bf5523bf749d3b372ee0286de6143abb4 /sql/sql_priv.h | |
parent | a74e8d36dde934b72b230b6d50b89f8e1ec034ae (diff) | |
download | mariadb-git-82cb35be11c566e4675bd14393cfa7157a280b93.tar.gz |
Changed the base class for Item_window_func from Item_result_field to
Item_func_or_sum.
Implemented method update_used_tables for class Item_findow_func.
Added the flag Item::with_window_func.
Made sure that window functions could be used only in SELECT list
and ORDER BY clause.
Added test cases that checked different illegal placements of
window functions.
Diffstat (limited to 'sql/sql_priv.h')
-rw-r--r-- | sql/sql_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_priv.h b/sql/sql_priv.h index 4d62f72f571..95102c82044 100644 --- a/sql/sql_priv.h +++ b/sql/sql_priv.h @@ -344,6 +344,7 @@ enum enum_parsing_place IN_WHERE, IN_ON, IN_GROUP_BY, + IN_ORDER_BY, PARSING_PLACE_SIZE /* always should be the last */ }; |