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

Skip to content

Commit 516100e

Browse files
committed
Fixed file names for Unix.
1 parent ffb7b82 commit 516100e

4 files changed

Lines changed: 4 additions & 6 deletions

File tree

examples/RunExpectations.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Set Serveroutput On Size Unlimited format truncated
66
set linesize 1000
77
set echo off
88
--install the example unit test packages
9-
@@department$.tps
10-
@@departments$.tps
9+
@@department.tps
10+
@@departments.tps
1111
@@demo_expectations.pck
1212
@@ut_custom_reporter.tps
1313
@@ut_custom_reporter.tpb

source/expectation_data_values/ut_data_value_refcursor.tpb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
create or replace type body ut_data_value_refcursor as
22

33
constructor function ut_data_value_refcursor(self in out nocopy ut_data_value_refcursor, a_value sys_refcursor) return self as result is
4-
l_crsr sys_refcursor;
54
begin
65
if a_value is not null then
7-
l_crsr := a_value;
8-
self.value := dbms_sql.to_cursor_number(l_crsr);
6+
self.value := dbms_xmlgen.newContext(a_value);
97
end if;
108
self.type := 'refcursor';
119
return;
@@ -16,7 +14,7 @@ create or replace type body ut_data_value_refcursor as
1614
begin
1715
if a_value is not null then
1816
open l_crsr for a_value;
19-
self.value := dbms_sql.to_cursor_number(l_crsr);
17+
self.value := dbms_xmlgen.newContext(l_crsr);
2018
end if;
2119
self.type := 'refcursor';
2220
return;

0 commit comments

Comments
 (0)