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

Skip to content

Commit d9ccc83

Browse files
committed
Fix to sql diff to resolve 11g optimizer rewrite error
1 parent 4d3dadc commit d9ccc83

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

source/expectations/data_values/ut_compound_data_helper.pkb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ create or replace package body ut_compound_data_helper is
178178
l_act_col_filter varchar2(32767);
179179
l_exp_col_filter varchar2(32767);
180180
l_results tt_row_diffs;
181+
181182
begin
182183
l_act_col_filter := get_columns_row_filter(a_exclude_xpath,a_include_xpath,'ucd','act_item_data');
183184
l_exp_col_filter := get_columns_row_filter(a_exclude_xpath,a_include_xpath,'ucd','exp_item_data');
@@ -201,7 +202,7 @@ create or replace package body ut_compound_data_helper is
201202
select act_data_id, ]'||l_act_col_filter||q'[, :join_by join_by, item_no
202203
from ut_compound_data_diff_tmp ucd
203204
where diff_id = :diff_id
204-
and ucd.exp_data_id = :other_guid ) i,
205+
and ucd.act_data_id = :other_guid ) i,
205206
table( xmlsequence( extract(i.act_item_data,'/*/*') ) ) s
206207
)
207208
select rn, diff_type, diffed_row, pk_value pk_value

0 commit comments

Comments
 (0)