summaryrefslogtreecommitdiff
path: root/sql/lex.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/lex.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/lex.h')
-rw-r--r--sql/lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/lex.h b/sql/lex.h
index 01e73f5f3d3..f7a183e1862 100644
--- a/sql/lex.h
+++ b/sql/lex.h
@@ -702,6 +702,7 @@ static SYMBOL sql_functions[] = {
{ "MID", SYM(SUBSTRING)}, /* unireg function */
{ "MIN", SYM(MIN_SYM)},
{ "NOW", SYM(NOW_SYM)},
+ { "NTILE", SYM(NTILE_SYM)},
{ "POSITION", SYM(POSITION_SYM)},
{ "PERCENT_RANK", SYM(PERCENT_RANK_SYM)},
{ "RANK", SYM(RANK_SYM)},