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

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
bag fix
source bag:
ORA-06512: на  "SYS.DBMS_LOB", line 1146
ORA-06512: на  "UT3.UT_EXECUTABLE", line 88
ORA-06512: на  "UT3.UT_EXECUTABLE", line 135
ORA-06512: на  "UT3.UT_EXECUTABLE", line 65
ORA-06512: на  "UT3.UT_TEST", line 76
ORA-06512: на  "UT3.UT_SUITE_ITEM", line 48
ORA-06512: на  "UT3.UT_SUITE", line 74
ORA-06512: на  "UT3.UT_RUN", line 41
ORA-06512: на  "UT3.UT_SUITE_ITEM", line 48
ORA-06512: на  "UT3.UT_RUNNER", line 34

ORA-06502: PL/SQL:  ошибка числа или значения
  • Loading branch information
mihail.chernyh authored and mihail.chernyh committed Mar 27, 2017
commit 20c644ddf56b85f9dc63627db541ef68b57cdb0b
11 changes: 7 additions & 4 deletions source/core/types/ut_executable.tpb
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,13 @@ create or replace type body ut_executable is
loop
dbms_output.get_line(line => l_line, status => l_status);
exit when l_status = 1;

dbms_lob.writeappend(lob_loc => self.serveroutput,
amount => length(l_line),
buffer => l_line);

if l_line is not null then
dbms_lob.writeappend(lob_loc => self.serveroutput,
amount => length(l_line),
buffer => l_line);
end if;

dbms_lob.writeappend(lob_loc => self.serveroutput,
amount => 1,
buffer => chr(10));
Expand Down