Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No dependencies checking of parameter names of External/UDR procedures [CORE6301] #6543

Open
firebird-automations opened this issue May 12, 2020 · 1 comment

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Viktor Belzetskiy (viktor_bs)

No check dependence return fields in udr-procedures

example:
-----------------------------------------------------------------
CREATE PROCEDURE TEST_UDR_PROC
RETURNS (
NUMBER DOUBLE PRECISION)
EXTERNAL NAME 'udr_vds!fstrOpenAnyTable' -- any udr-procedure
ENGINE UDR;

CREATE PROCEDURE TEST_PROCEDURE
RETURNS (
NUMBER DOUBLE PRECISION)
AS
BEGIN
FOR
SELECT NUMBER
FROM TEST_UDR_PROC
INTO :NUMBER
DO
SUSPEND;

END;

ALTER PROCEDURE TEST_UDR_PROC
RETURNS (
NUMBER_2 DOUBLE PRECISION) -- !!! change field name !!!
EXTERNAL NAME 'udr_vds!fstrOpenAnyTable'
ENGINE UDR;

Successfull. No error !!!

@firebird-automations
Copy link
Collaborator Author

Modified by: Sean Leyne (seanleyne)

summary: No check dependence return fields in udr-procedures => No dependencies checking of parameter names of External/UDR procedures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant