PL/SQL parser
(MDEV-10142)
|
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.3 |
| Fix Version/s: | 10.3.1 |
| 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 |
|
MariaDB translates function LENGTH() to SQL Standard function OCTET_LENGTH(). We'll change MariaDB so it also translates LENGTH() to CHAR_LENGTH() rather than OCTET_LENGTH() when running with sql_mode=ORACLE. Additionally, we'll add LENGTHB() as a synonym for OCTET_LENGTH(). This synonym will be available in all sql_mode's. |