The package procedure with value by default isn't called if this parameter 
isn't specified.
-------------------------------------------------------------------------------------------

                 Key: CORE-4954
                 URL: http://tracker.firebirdsql.org/browse/CORE-4954
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0 Beta 2
            Reporter: Simonov Denis


set term ^;

create package t1
as
begin
  procedure p1(a int, b int = 1);
  procedure p2;
end^

create package body t1
as
begin
  procedure p1(a int, b int)
  as
  begin
  end

  procedure p2
  as
  begin
    execute procedure p1(1);
  end
end^

Statement failed, SQLSTATE = 07001
unsuccessful metadata update
-CREATE PACKAGE BODY T1 failed
-Dynamic SQL Error
-Input parameter mismatch for procedure P1

If when calling the "p1" to specify both options, then there is 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

        

------------------------------------------------------------------------------
Full-scale, agent-less Infrastructure Monitoring from a single dashboard
Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
Physical-Virtual-Cloud Infrastructure monitoring from one console
Real user monitoring with APM Insights and performance trend reports 
Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to