diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-09-19 11:39:36 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-04-05 15:02:49 +0400 |
commit | c8822d71efd426902db6f8096037a1ad9d61b3fe (patch) | |
tree | 6d9ae14303c43bab1c9851f3f6c5e5ce5d3b14c1 /sql/lex.h | |
parent | 02a72cf87c51cf3e33627e1f358d18205f7bba3b (diff) | |
download | mariadb-git-c8822d71efd426902db6f8096037a1ad9d61b3fe.tar.gz |
MDEV-10342 Providing compatibility for basic SQL built-in functions
Adding the Oracle style DECODE function:
DECODE(operand, search, result [, search, result ...] [, default_result])
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 d258c9bac5b..8e946853c24 100644 --- a/sql/lex.h +++ b/sql/lex.h @@ -705,6 +705,7 @@ static SYMBOL sql_functions[] = { { "CURTIME", SYM(CURTIME)}, { "DATE_ADD", SYM(DATE_ADD_INTERVAL)}, { "DATE_SUB", SYM(DATE_SUB_INTERVAL)}, + { "DECODE", SYM(DECODE_SYM)}, { "DENSE_RANK", SYM(DENSE_RANK_SYM)}, { "EXTRACT", SYM(EXTRACT_SYM)}, { "FIRST_VALUE", SYM(FIRST_VALUE_SYM)}, |