diff options
author | Monty <monty@mariadb.org> | 2021-01-05 20:46:23 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-05-19 22:54:12 +0200 |
commit | cf93209c70bb0819dd957af1f4e5ca0019a25c4d (patch) | |
tree | 27f292a49a9292bffd697bda68118e6537968e60 /sql/lex.h | |
parent | b8c3159594421f1fa5ab9b84815726bf042c9295 (diff) | |
download | mariadb-git-cf93209c70bb0819dd957af1f4e5ca0019a25c4d.tar.gz |
MDEV-20021 sql_mode="oracle" does not support MINUS set operator
MINUS is mapped to EXCEPT
One consequence of the patch is that MINUS becomes a reserved word in
Oracle mode.
Author: woqutech
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 3357500454a..e945ec6a8d0 100644 --- a/sql/lex.h +++ b/sql/lex.h @@ -404,6 +404,7 @@ static SYMBOL symbols[] = { { "MICROSECOND", SYM(MICROSECOND_SYM)}, { "MIDDLEINT", SYM(MEDIUMINT)}, /* For powerbuilder */ { "MIGRATE", SYM(MIGRATE_SYM)}, + { "MINUS", SYM(MINUS_ORACLE_SYM)}, { "MINUTE", SYM(MINUTE_SYM)}, { "MINUTE_MICROSECOND", SYM(MINUTE_MICROSECOND_SYM)}, { "MINUTE_SECOND", SYM(MINUTE_SECOND_SYM)}, |