[MDEV-13686] EXCEPTION reserved keyword in SQL_MODE=oracle but not in Oracle itself Created: 2017-08-31 Updated: 2017-09-14 Resolved: 2017-09-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Affects Version/s: | 10.3.1 |
| Fix Version/s: | 10.3.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Anders Karlsson | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
"Exception" is not a reserved word in MariaDB usually, but it is when SQL_MODE is set to "Oracle". This is odd, as "exception" is not a SQL keyword in Oracle itself (tested with Oracle 11.2). When sql_mode is not set to Oracle, this is not the case.
In SQLPlus:
|
| Comments |
| Comment by Elena Stepanova [ 2017-08-31 ] | |||||||||||||||||
|
I couldn't find it in the standard (draft 2011) either. It was apparently added in the scope of
| |||||||||||||||||
| Comment by Alexander Barkov [ 2017-09-14 ] | |||||||||||||||||
|
Pushed into bb-10.2-ext and 10.3. |