8000 Fixing issue where parition by only path caused a duplicate level 1 a… · utPLSQL/utPLSQL@0fc7ff6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0fc7ff6

Browse files
committed
Fixing issue where parition by only path caused a duplicate level 1 across two owners being removed.
1 parent 51439d8 commit 0fc7ff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/core/ut_suite_cache_manager.pkb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ create or replace package body ut_suite_cache_manager is
203203
begin
204204
select obj bulk collect into l_suite_items
205205
from (
206-
select /*+ cardinality(c 500) */ value(c) as obj,row_number() over ( partition by path order by path asc) as r_num
206+
select /*+ cardinality(c 500) */ value(c) as obj,row_number() over ( partition by path,object_owner order by path,object_owner asc) as r_num
207207
from ut_suite_cache c,
208208
table(a_schema_paths) sp
209209
where c.object_owner = upper(sp.schema_name)

0 commit comments

Comments
 (0)
0