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

Skip to content
Prev Previous commit
Next Next commit
Fixed newline in ut_executable for dbms_output.
  • Loading branch information
jgebal committed Jul 15, 2018
commit 3e052e7a7b74f29a0e2563bbd8409ea13a2452b6
5 changes: 1 addition & 4 deletions source/core/types/ut_executable.tpb
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,9 @@ create or replace type body ut_executable is
end if;
while l_status != 1 loop
if l_line is not null then
ut_utils.append_to_clob(self.serveroutput, l_line);
ut_utils.append_to_clob(self.serveroutput, l_line||chr(10));
end if;
dbms_output.get_line(line => l_line, status => l_status);
if l_status != 1 then
dbms_lob.writeappend(self.serveroutput,1,chr(10));
end if;
end loop;
end save_dbms_output;
begin
Expand Down