@@ -146,10 +146,10 @@ create or replace type body ut_cursor_details as
146146
147147 member function get_missing_join_by_columns( a_expected_columns ut_varchar2_list ) return ut_varchar2_list is
148148 l_result ut_varchar2_list;
149- l_prefix varchar2(125);
149+ l_root varchar2(125);
150150 begin
151151 if self.is_anydata = 1 then
152- l_prefix := get_root;
152+ l_root := get_root;
153153 end if;
154154 --regexp_replace(c.access_path,'^\/?([^\/]+\/){1}')
155155 select fl.column_value
@@ -160,7 +160,7 @@ create or replace type body ut_cursor_details as
160160 where regexp_like(c.access_path,'^/?'||
161161 case
162162 when self.is_anydata = 1 then
163- l_prefix ||'/'||trim (leading '/' from fl.column_value)
163+ l_root ||'/'||trim (leading '/' from fl.column_value)
164164 else
165165 fl.column_value
166166 end||'($|/.*)'
@@ -174,13 +174,13 @@ create or replace type body ut_cursor_details as
174174 l_result ut_cursor_details := self;
175175 l_column_tab ut_cursor_column_tab := ut_cursor_column_tab();
176176 l_column ut_cursor_column;
177- l_prefix varchar2(125);
177+ l_root varchar2(125);
178178 c_xpath_extract_reg constant varchar2(50) := '^((/ROW/)|^(//)|^(/\*/))?(.*)';
179179 begin
180180 if l_result.cursor_columns_info is not null then
181181
182182 if self.is_anydata = 1 then
183- l_prefix := get_root;
183+ l_root := get_root;
184184 end if;
185185
186186 --limit columns to those on the include items minus exclude items
@@ -201,7 +201,7 @@ create or replace type body ut_cursor_details as
201201 select 1 from included_columns f where regexp_like(x.access_path,'^/?'||
202202 case
203203 when self.is_anydata = 1 then
204- l_prefix ||'/'||trim(leading '/' from f.col_names)
204+ l_root ||'/'||trim(leading '/' from f.col_names)
205205 else
206206 f.col_names
207207 end||'($|/.*)'
@@ -221,7 +221,7 @@ create or replace type body ut_cursor_details as
221221 select 1 from excluded_columns f where regexp_like(x.access_path,'^/?'||
222222 case
223223 when self.is_anydata = 1 then
224- l_prefix ||'/'||trim(leading '/' from f.col_names)
224+ l_root ||'/'||trim(leading '/' from f.col_names)
225225 else
226226 f.col_names
227227 end||'($|/.*)' )
0 commit comments