Skip to content

Commit 5d3b18c

Browse files
committed
Update cleanup script after branching from random order branch
1 parent a8dfa14 commit 5d3b18c

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

development/cleanup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ drop user ${UT3_USER} cascade;
2626
2727
begin
2828
for i in (
29-
select decode(owner,'PUBLIC','drop public synonym "','drop synonym "'||owner||'"."')|| synonym_name ||'"' drop_orphaned_synonym from dba_synonyms a
29+
select decode(owner,'PUBLIC','drop public synonym "','drop synonym "'||owner||'"."')|| synonym_name ||'"' drop_orphaned_synonym, owner||'.'||synonym_name syn from dba_synonyms a
3030
where not exists (select 1 from dba_objects b where (a.table_name=b.object_name and a.table_owner=b.owner or b.owner='SYS' and a.table_owner=b.object_name) )
3131
and a.table_owner not in ('SYS','SYSTEM')
3232
) loop
33-
dbms_output.put_line(i.drop_orphaned_synonym);
3433
execute immediate i.drop_orphaned_synonym;
34+
dbms_output.put_line('synonym '||i.syn||' dropped');
3535
end loop;
3636
end;
3737
/

development/template.env.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,3 @@ export UT3_TESTER_HELPER_PASSWORD=ut3
1818
export UT3_TABLESPACE=users
1919
export UT3_USER="UT3\$USER#"
2020
export UT3_USER_PASSWORD=ut3
21-
export UT3_TESTER_HELPER=ut3_tester_helper
22-
export UT3_TESTER_HELPER_PASSWORD=ut3

0 commit comments

Comments
 (0)