My Oracle Support Banner

PL/SQL Function Incorrectly Invoked Twice for Each Row Processed in Result Set (Doc ID 2758342.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms

If table T1 contains ten rows, then the expected value of variable G_ROW_COUNT, after completion of the query, is also ten.  Similarly, given a table with 100 rows, the counter is also expected to be equal to 100.

However, since the database upgrade, the counter value is unexpectedly equal to twice the number of rows stored within T1.  Therefore, in the previous example of table T1, containing 100 rows, an execution of the query above causes G_ROW_COUNT to equal 200.

Changes

Upgraded the database software to Oracle Database 19c or higher.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.