Fix for empty parameter name
This commit is contained in:
parent
2b6d76bb81
commit
d2e71075ef
@ -345,7 +345,6 @@ as
|
|||||||
l_temp_str t_max_pl_varchar2;
|
l_temp_str t_max_pl_varchar2;
|
||||||
l_begin_pos pls_integer;
|
l_begin_pos pls_integer;
|
||||||
l_end_pos pls_integer;
|
l_end_pos pls_integer;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
|
|
||||||
@ -359,9 +358,12 @@ begin
|
|||||||
Who Date Description
|
Who Date Description
|
||||||
------ ---------- -------------------------------------
|
------ ---------- -------------------------------------
|
||||||
MBR 16.05.2007 Created
|
MBR 16.05.2007 Created
|
||||||
|
MBR 24.09.2015 If parameter name not specified (null), then return null
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if p_param_name is not null then
|
||||||
|
|
||||||
-- get the starting position of the param name
|
-- get the starting position of the param name
|
||||||
l_begin_pos:=instr(p_param_string, p_param_name || p_value_separator);
|
l_begin_pos:=instr(p_param_string, p_param_name || p_value_separator);
|
||||||
|
|
||||||
@ -389,6 +391,8 @@ begin
|
|||||||
|
|
||||||
end if;
|
end if;
|
||||||
|
|
||||||
|
end if;
|
||||||
|
|
||||||
return l_returnvalue;
|
return l_returnvalue;
|
||||||
|
|
||||||
end get_param_value_from_list;
|
end get_param_value_from_list;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user