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

Skip to content

Commit 221c2de

Browse files
committed
Address issue of not recognizing a correct nested level of suitepath.
Added extra tests for different scenarios.
1 parent 011970f commit 221c2de

3 files changed

Lines changed: 525 additions & 9 deletions

File tree

source/core/ut_suite_cache_manager.pkb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ create or replace package body ut_suite_cache_manager is
156156
select /*+ no_parallel */ nvl(c.path,sp.suite_path) as suite_path,sp.schema_name,sp.object_name,sp.procedure_name as procedure_name
157157
from schema_paths sp left outer join ut_suite_cache c on
158158
( c.object_owner = upper(sp.schema_name)
159-
and c.path like replace(sp.suite_path,'*','%'))
159+
--and c.path like replace(sp.suite_path,'*','%'))
160+
and regexp_like(c.path,'^'||replace(sp.suite_path,'*','[A-Za-z0-9$#_]*')))
160161
where sp.suite_path is not null and instr(sp.suite_path,'*') > 0
161162
),
162163
straigth_suite_paths as (

0 commit comments

Comments
 (0)