PL/SQL parser - Phase 2
(MDEV-10764)
|
|
| Status: | Stalled |
| Project: | MariaDB Server |
| Component/s: | Parser, Stored routines |
| Affects Version/s: | 10.3, 10.4, 10.5 |
| Fix Version/s: | None |
| Type: | Technical task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | Compatibility, Oracle | ||
| Issue Links: |
|
||||||||
| Description |
|
As of version 10.4, MariaDB supports package variables in CREATE PACKAGE BODY only. Under terms of this task we'll also allow package wide-variables in the CREATE PACKAGE statement. Example:
Note, unlike stored routines parameters, package-wide VARCHAR variables must be declared with length. Package variables are initialized on the first package invocation in the current session. Variable declarations may not refer to functions declared in the same package. So this script will return an error:
|
| Comments |
| Comment by Alexander Barkov [ 2019-04-24 ] |
|
Was closed in a mistake |