diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2016-04-04 17:06:12 +0300 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2016-04-04 22:04:18 +0300 |
commit | be3902fceba95254d13e0f74741c3fa2d4a0c9f4 (patch) | |
tree | 830f148008e693140b5a23410917f5606b304f42 /sql/sql_window.cc | |
parent | a5d300814c131ca0220a1362b3588e84743e6cd0 (diff) | |
download | mariadb-git-be3902fceba95254d13e0f74741c3fa2d4a0c9f4.tar.gz |
Implement ntile window function.
The current implementation does not allow for a dynamic expression
within the sum function's parameter.
Diffstat (limited to 'sql/sql_window.cc')
-rw-r--r-- | sql/sql_window.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_window.cc b/sql/sql_window.cc index ff2f5a46449..8e4d597b435 100644 --- a/sql/sql_window.cc +++ b/sql/sql_window.cc @@ -1745,6 +1745,7 @@ bool Window_func_runner::setup(THD *thd) case Item_sum::AVG_FUNC: case Item_sum::PERCENT_RANK_FUNC: case Item_sum::CUME_DIST_FUNC: + case Item_sum::NTILE_FUNC: { /* Frame-aware window function computation. It does one pass, but |