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

Skip to content

Commit 09b43da

Browse files
committed
Adding in out
1 parent bbb9020 commit 09b43da

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

source/expectations/data_values/ut_data_value_anydata.tpb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ create or replace type body ut_data_value_anydata as
2121
return self.data_type || case when self.compound_type = 'collection' then ' [ count = '||self.elements_count||' ]' else null end;
2222
end;
2323

24-
member procedure get_cursor_from_anydata(a_value in anydata, a_refcursor out sys_refcursor) is
24+
member procedure get_cursor_from_anydata(self in out nocopy ut_data_value_anydata, a_value in anydata,
25+
a_refcursor out nocopy sys_refcursor) is
2526
l_anydata_sql varchar2(4000);
2627
l_cursor_sql varchar2(2000);
2728

@@ -107,6 +108,8 @@ create or replace type body ut_data_value_anydata as
107108
raise cursor_not_open;
108109
end if;
109110
end if;
111+
112+
110113
exception
111114
when cursor_not_open then
112115
raise_application_error(-20155, 'Cursor is not open');

source/expectations/data_values/ut_data_value_anydata.tps

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ create or replace type ut_data_value_anydata under ut_data_value_refcursor(
1717
*/
1818

1919

20-
member procedure get_cursor_from_anydata(a_value in anydata, a_refcursor out sys_refcursor),
20+
member procedure get_cursor_from_anydata(self in out nocopy ut_data_value_anydata, a_value in anydata,
21+
a_refcursor out nocopy sys_refcursor),
2122
overriding member function get_object_info return varchar2,
2223
member function get_extract_path(a_data_value anydata) return varchar2,
2324
member procedure init(self in out nocopy ut_data_value_anydata, a_value anydata),

0 commit comments

Comments
 (0)