You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Package CONSTANT/variable referenced more than once in an expression returns wrong value #1382
A PL/iSQL package-qualified CONSTANT (or variable) can silently return the wrong value — either empty, or the leftover value of a completely unrelated local variable — when it is referenced more than once while a "simple expression" is being evaluated, particularly when the reference is on the right-hand side of an assignment to a variable that was already assigned earlier in the same block.
This is a correctness bug in the core PL/iSQL engine (src/pl/plisql/src/pl_exec.c), not specific to any one package — it reproduces with any freshly-created package that exposes a VARCHAR2 constant.
Activity
Fix package datum misresolution in plisql_param_compile
Fix package datum misresolution in plisql_param_compile
bigplaice commentedon Jul 7, 2026
Thanks for reporting this bug! I can reproduce it on my machine.