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

Skip to content

Commit 3d32d69

Browse files
committed
Fixed a bug in cursor reporting.
1 parent 099ef71 commit 3d32d69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/expectations/data_values/ut_data_value_refcursor.tpb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ create or replace type body ut_data_value_refcursor as
3030
begin
3131
if self.datavalue is not null then
3232
ut_assert_processor.set_xml_nls_params();
33+
dbms_xmlgen.restartQuery(self.datavalue);
3334
dbms_xmlgen.setMaxRows(self.datavalue, 100);
3435
l_result := dbms_xmlgen.getxml(self.datavalue);
35-
dbms_xmlgen.restartQuery(self.datavalue);
3636
ut_assert_processor.reset_nls_params();
3737
end if;
3838
return ut_utils.to_string(l_result);

0 commit comments

Comments
 (0)