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

[FB3] Wrong RDB$PARAMETER_MECHANISM [CORE3423] #3786

Closed
firebird-automations opened this issue Mar 31, 2011 · 6 comments
Closed

[FB3] Wrong RDB$PARAMETER_MECHANISM [CORE3423] #3786

firebird-automations opened this issue Mar 31, 2011 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @ibprovider

Is related to QA564

Hi

------------
create procedure sp_test(IN_ARG INTEGER)
returns (OUT_ARG INTEGER)
as
begin
OUT_ARG=IN_ARG;
end;

select pp.rdb$parameter_name,pp.rdb$parameter_mechanism
from rdb$procedure_parameters pp
where pp.rdb$procedure_name='SP_TEST';

------------
Firebird 2.5.1 returns NULL in rdb$parameter_mechanism column

Firebird 3 [build 29220] returns 1 [fb_prm_mech_type_of] in rdb$parameter_mechanism column

I think, FB3 should write to rdb$parameter_mechanism the NULL or 0 [fb_prm_mech_normal]

Commits: 51f68bd

====== Test Details ======

NB: engine treats nulls and zeroes as the same value, so it is enough to check that parameter mechanism is either null or zero only.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA564 [ QA564 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Done successfully

Test Details: NB: engine treats nulls and zeroes as the same value, so it is enough to check that parameter mechanism is either null or zero only.

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

Test created.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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