File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- alter session set plsql_optimize_level=1;
2- --we need to use plsql optimize level=1 to prevent
3- -- Oracle from changing the for loop to bulk collect into
4- -- The row-by-row approach is needed to get the visible progress ot unit tests outputs
5- -- as the tests get executed.
61create or replace type body ut_output_stream as
72
83 overriding final member procedure close(self in out nocopy ut_output_stream) is
@@ -28,5 +23,8 @@ create or replace type body ut_output_stream as
2823
2924end;
3025/
31- --going back to the "default" level 2?
32- alter session set plsql_optimize_level=2;
26+ --we need to use plsql optimize level=1 to prevent
27+ -- Oracle from changing the for loop to bulk collect into
28+ -- The row-by-row approach is needed to get the visible progress ot unit tests outputs
29+ -- as the tests get executed.
30+ alter type body ut_output_stream compile plsql_optimize_level = 1;
You can’t perform that action at this time.
0 commit comments