diff options
author | Varun Gupta <varunraiko1803@gmail.com> | 2017-06-13 11:54:39 +0530 |
---|---|---|
committer | Varun Gupta <varunraiko1803@gmail.com> | 2017-11-01 23:13:01 +0530 |
commit | fadfe447e8d9b1244341bd5ed94bb7f8eb623f18 (patch) | |
tree | fe2e5df02fcc98a0ba426e129cd539ddbcebe45f /sql/lex.h | |
parent | 29c4bd9d27996600790be45ae057214381c7d3a8 (diff) | |
download | mariadb-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.h | 3 |
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)}, |