PL/SQL parser
(MDEV-10142)
|
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER, Parser |
| Affects Version/s: | 10.3 |
| Fix Version/s: | 10.3.0 |
| Type: | Technical task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Compatibility | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Sprint: | 10.2.2-3, 10.2.2-1, 10.2.2-2, 10.2.2-4, 10.1.18 | ||||||||||||||||||||||||||||
| Description |
|
The concatenation operator || in Oracle skips all NULL arguments and returns the result of concatenation of non-NULL arguments. Under terms of this task we'll make the || operator work in Oracle style when sql_mode is ORACLE. Note, the function CONCAT won't be changed by this task. There is a contributed patch from Jérôme Brauge implementing this feature: https://lists.launchpad.net/maria-developers/msg10288.html It adds a new flag MODE_CONCAT_NULL_YIELDS_NULL_OFF. |
| Comments |
| Comment by Michael Widenius [ 2017-01-30 ] |
|
Code reviewed. Looks fine, with a few small fixes needed |
| Comment by Alexander Barkov [ 2017-02-01 ] |
|
Pushed to bb-10.2-compatibilty |