File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,17 @@ git rev-parse && cd "$(git rev-parse --show-cdup)"
77
88" ${SQLCLI} " sys/${ORACLE_PWD} @//${CONNECTION_STR} AS SYSDBA << -SQL
99set echo on
10+ begin
11+ for x in (
12+ select * from dba_objects
13+ where owner in ( upper('${UT3_RELEASE_VERSION_SCHEMA} '), upper('${UT3_OWNER} ') )
14+ and object_name like 'SYS_PLSQL%')
15+ loop
16+ execute immediate 'drop type '||x.owner||'.'||x.object_name||' force';
17+ end loop;
18+ end;
19+ /
20+
1021drop user ${UT3_OWNER} cascade;
1122drop user ${UT3_RELEASE_VERSION_SCHEMA} cascade;
1223drop user ${UT3_TESTER} cascade;
Original file line number Diff line number Diff line change @@ -109,17 +109,17 @@ create or replace package body ut_annotation_cache_manager as
109109 pragma autonomous_transaction;
110110 begin
111111 if a_object_owner is null and a_object_type is null then
112+ l_cache_filter := ':a_object_owner is null and :a_object_type is null';
113+ l_filter := l_cache_filter;
114+ else
112115 l_filter :=
113- case when a_object_owner is null then ':a_object_owner is null' else 'object_owner = :a_object_owner' end || '
116+ case when a_object_owner is null then ':a_object_owner is null' else 'object_owner = :a_object_owner' end || '
114117 and '||case when a_object_type is null then ':a_object_type is null' else 'object_type = :a_object_type' end;
115118 l_cache_filter := ' c.cache_id
116119 in (select i.cache_id
117120 from ut_annotation_cache_info i
118121 where '|| l_filter || '
119122 )';
120- else
121- l_cache_filter := ':a_object_owner is null and :a_object_type is null';
122- l_filter := l_cache_filter;
123123 end if;
124124 execute immediate '
125125 delete from ut_annotation_cache c
You can’t perform that action at this time.
0 commit comments