diff options
author | Varun Gupta <varunraiko1803@gmail.com> | 2017-10-26 23:55:09 +0530 |
---|---|---|
committer | Varun Gupta <varunraiko1803@gmail.com> | 2017-11-01 23:17:14 +0530 |
commit | 4f4f8f3fb120e9d4507766c817323c758a0a1990 (patch) | |
tree | 8683fa3cf5dcb8cd6f8c5591881bff997e9f7af3 /sql/lex.h | |
parent | 02a4a4b512ace75bbe66065c136d697e83a4d9ff (diff) | |
download | mariadb-git-4f4f8f3fb120e9d4507766c817323c758a0a1990.tar.gz |
Added the median function to the parser , it should behave as a percentile_cont function with its argument fixed to 0.5
Diffstat (limited to 'sql/lex.h')
-rw-r--r-- | sql/lex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/lex.h b/sql/lex.h index 7967d17a5d4..63b0567c5d0 100644 --- a/sql/lex.h +++ b/sql/lex.h @@ -737,6 +737,7 @@ static SYMBOL sql_functions[] = { { "LAG", SYM(LAG_SYM)}, { "LEAD", SYM(LEAD_SYM)}, { "MAX", SYM(MAX_SYM)}, + { "MEDIAN", SYM(MEDIAN_SYM)}, { "MID", SYM(SUBSTRING)}, /* unireg function */ { "MIN", SYM(MIN_SYM)}, { "NOW", SYM(NOW_SYM)}, |