No check dependence return fields in udr-procedures 
----------------------------------------------------

                 Key: CORE-6301
                 URL: http://tracker.firebirdsql.org/browse/CORE-6301
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 3.0.5
         Environment: WI-V3.0.6.33290
            Reporter: Viktor Belzetskiy
            Priority: Minor


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 !!!



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to