Commit 1429fb1c authored by Giuseppe Lo Presti's avatar Giuseppe Lo Presti
Browse files

Merge branch 'v2_1_14Version' with amendments

parents c0db09b1 ea39d0b7
......@@ -119,8 +119,8 @@ BEGIN
SELECT svcHandler INTO svcHandler FROM Type2Obj WHERE type=inReqType;
-- Loop on subrequests
FOR i IN srFileNames.FIRST .. srFileNames.LAST LOOP
-- check protocol validity
IF INSTR(protocols, ' ' || srProtocols(i) || ' ') = 0 THEN
-- check protocol validity for Get/Put requests only, for other requests the protocol is irrelevant
IF inReqType IN (35, 40) AND INSTR(protocols, ' ' || srProtocols(i) || ' ') = 0 THEN
raise_application_error(-20122, 'Unsupported protocol in insertFileRequest : ' || srProtocols(i));
END IF;
-- get unique ids for the subrequest
......
......@@ -1988,8 +1988,8 @@ BEGIN
SELECT svcHandler INTO svcHandler FROM Type2Obj WHERE type=inReqType;
-- Loop on subrequests
FOR i IN srFileNames.FIRST .. srFileNames.LAST LOOP
-- check protocol validity
IF INSTR(protocols, ' ' || srProtocols(i) || ' ') = 0 THEN
-- check protocol validity for Get/Put requests only, for other requests the protocol is irrelevant
IF inReqType IN (35, 40) AND INSTR(protocols, ' ' || srProtocols(i) || ' ') = 0 THEN
raise_application_error(-20122, 'Unsupported protocol in insertFileRequest : ' || srProtocols(i));
END IF;
-- get unique ids for the subrequest
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment