Signature mismatch when creating package body on identical packaged procedure 
header
------------------------------------------------------------------------------------

                 Key: CORE-6250
                 URL: http://tracker.firebirdsql.org/browse/CORE-6250
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0.5
            Reporter: Adriano dos Santos Fernandes


Sent in fb-devel by Jiri Cincura with thread "Procedure has a signature 
mismatch on package body".

I'm getting the error in %subj%, when I try to recreate package body of an 
existing package, BUT the package body is taken without any changes from 
rdb$packages.rdb$package_body_source. How is this possible? If I do "create or 
alter" on header (again taken from rdb$packages) right before it's fine. The 
rbb$valid_body_flag is 1.

The package itself has only one procedure with this definition:
CREATE OR ALTER PACKAGE QRY_STAFF AS
begin
  procedure SALES_PER_USER_PRODUCTGROUP (
      IN_FROM D_DATE,
      IN_UNTIL D_DATE)
  returns (
      OUT_US_NAME type of column T_USER.F_US_USERNAME,
      OUT_PERS_NAME type of column T_PERSON.F_PERS_NAME,
      OUT_PERS_FIRSTNAME type of column T_PERSON.F_PERS_FIRSTNAME,
      OUT_PG_NAME type of column T_PRODUCT_GROUP.CF_PG_NAME,
      OUT_TOTAL type of D_DECIMAL);

end

Not something terribly complicated. The only inteeresting thing is the 
OUT_PG_NAME parameter, which uses "type of column" on a "computed by" table 
column.

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