Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f3c0d3f

Browse files
author
Jacek Gębal
committed
Fixed the problem where suite_cache_package and suite_cache_schema are getting populated even package is not a suite.
1 parent 2c8811d commit f3c0d3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/core/ut_suite_cache_manager.pkb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ create or replace package body ut_suite_cache_manager is
306306
l_object_owner varchar2(250) := upper(a_object_owner);
307307
l_object_name varchar2(250) := upper(a_object_name);
308308
begin
309-
if a_suite_items is not null and a_suite_items.count = 0 then
309+
if a_suite_items is null or a_suite_items.count = 0 then
310310

311311
delete from ut_suite_cache t
312312
where t.object_owner = l_object_owner

0 commit comments

Comments
 (0)