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

Skip to content

Commit 3e052e7

Browse files
committed
Fixed newline in ut_executable for dbms_output.
1 parent 2f39237 commit 3e052e7

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

source/core/types/ut_executable.tpb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,9 @@ create or replace type body ut_executable is
9393
end if;
9494
while l_status != 1 loop
9595
if l_line is not null then
96-
ut_utils.append_to_clob(self.serveroutput, l_line);
96+
ut_utils.append_to_clob(self.serveroutput, l_line||chr(10));
9797
end if;
9898
dbms_output.get_line(line => l_line, status => l_status);
99-
if l_status != 1 then
100-
dbms_lob.writeappend(self.serveroutput,1,chr(10));
101-
end if;
10299
end loop;
103100
end save_dbms_output;
104101
begin

0 commit comments

Comments
 (0)