PL/SQL Package Compiled With Debug Option Produces Wrong Results On 11.2.0.3 P27 Winx64 (Doc ID 1669287.1)

Last updated on JULY 05, 2017

Applies to:

PL/SQL - Version 11.2.0.3 and later
Microsoft Windows x64 (64-bit) - Version: 2008 R2
Information in this document applies to Microsoft Windows x64 (64-bit)

Symptoms

After applying 11.2.0.3 P27 on Database, PL/SQL package produces wrong results when compiled with debug option.
Code works fine when using 11.2.0.3 DB.

alter package xxxx compile debug;
Issue occurs when calling the packaged procedure with parameters and pass concrete values.

 

Sample testcase :

-----------------

 

Sample output:

----------------

Test1
p1 send = 1
p2 send = 2
p3 send = 3
p1 receive = 1
p2 receive = 3 ===> This is wrong, must be 2
p3 receive = 3

Changes

 Upgraded the database from 11.2.0.3 to 11.2.0.3 P27

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms