summaryrefslogtreecommitdiff
path: root/sql/item_sum.h
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2016-04-04 17:06:12 +0300
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2016-04-04 22:04:18 +0300
commitbe3902fceba95254d13e0f74741c3fa2d4a0c9f4 (patch)
tree830f148008e693140b5a23410917f5606b304f42 /sql/item_sum.h
parenta5d300814c131ca0220a1362b3588e84743e6cd0 (diff)
downloadmariadb-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/item_sum.h')
-rw-r--r--sql/item_sum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h
index cfe2d3db878..e766e69a1c5 100644
--- a/sql/item_sum.h
+++ b/sql/item_sum.h
@@ -350,7 +350,7 @@ public:
AVG_DISTINCT_FUNC, MIN_FUNC, MAX_FUNC, STD_FUNC,
VARIANCE_FUNC, SUM_BIT_FUNC, UDF_SUM_FUNC, GROUP_CONCAT_FUNC,
ROW_NUMBER_FUNC, RANK_FUNC, DENSE_RANK_FUNC, PERCENT_RANK_FUNC,
- CUME_DIST_FUNC
+ CUME_DIST_FUNC, NTILE_FUNC
};
Item **ref_by; /* pointer to a ref to the object used to register it */