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

The package procedure with value by default isn't called if this parameter isn't specified. [CORE4954] #5245

Closed
firebird-issue-importer opened this issue Oct 7, 2015 · 4 comments

Comments

@firebird-issue-importer
Copy link

firebird-issue-importer commented Oct 7, 2015

Submitted by: @sim1984

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.

Commits: 96e6676 FirebirdSQL/fbt-repository@2171864

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Oct 7, 2015

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Oct 7, 2015

Modified by: @asfernandes

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 RC 1 [ 10584 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Oct 8, 2015

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Oct 8, 2015

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Closed [ 6 ]

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

2 participants