summaryrefslogtreecommitdiff
path: root/sql/lex.h
diff options
context:
space:
mode:
authorVarun Gupta <varunraiko1803@gmail.com>2017-06-13 11:54:39 +0530
committerVarun Gupta <varunraiko1803@gmail.com>2017-11-01 23:13:01 +0530
commitfadfe447e8d9b1244341bd5ed94bb7f8eb623f18 (patch)
treefe2e5df02fcc98a0ba426e129cd539ddbcebe45f /sql/lex.h
parent29c4bd9d27996600790be45ae057214381c7d3a8 (diff)
downloadmariadb-git-fadfe447e8d9b1244341bd5ed94bb7f8eb623f18.tar.gz
MDEV-12985: syntax added for the percentile_cont and percentile_disc functions
Diffstat (limited to 'sql/lex.h')
-rw-r--r--sql/lex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/lex.h b/sql/lex.h
index ef03afb7a32..7967d17a5d4 100644
--- a/sql/lex.h
+++ b/sql/lex.h
@@ -701,6 +701,7 @@ static SYMBOL symbols[] = {
{ "WHILE", SYM(WHILE_SYM)},
{ "WINDOW", SYM(WINDOW_SYM)},
{ "WITH", SYM(WITH)},
+ { "WITHIN", SYM(WITHIN)},
{ "WORK", SYM(WORK_SYM)},
{ "WRAPPER", SYM(WRAPPER_SYM)},
{ "WRITE", SYM(WRITE_SYM)},
@@ -743,6 +744,8 @@ static SYMBOL sql_functions[] = {
{ "NTILE", SYM(NTILE_SYM)},
{ "POSITION", SYM(POSITION_SYM)},
{ "PERCENT_RANK", SYM(PERCENT_RANK_SYM)},
+ { "PERCENTILE_CONT", SYM(PERCENTILE_CONT_SYM)},
+ { "PERCENTILE_DISC", SYM(PERCENTILE_DISC_SYM)},
{ "RANK", SYM(RANK_SYM)},
{ "ROW_NUMBER", SYM(ROW_NUMBER_SYM)},
{ "SESSION_USER", SYM(USER_SYM)},