PL/SQL parser
(MDEV-10142)
|
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser, Stored routines |
| Affects Version/s: | 10.3 |
| Fix Version/s: | 10.3.2 |
| Type: | Technical task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Compatibility | ||
| Sprint: | 10.2.2-3, 10.2.2-1, 10.2.2-2, 10.2.2-4, 10.1.18 |
| Description |
|
In sql_mode=oracle, when an SP parameter of the VARCHAR data type is defined without length, This script works fine in Oracle:
This script:
fails with an error:
Furthermore, since Oracle 9, VARCHAR datatype in PL/SQL is not limited to 4000 char but to 32k. |
| Comments |
| Comment by Alexander Barkov [ 2017-09-28 ] |
|
Pushed to bb-10.2-ext and 10.3 |