Alter procedure allows to add the parameter with the same name.
---------------------------------------------------------------
Key: CORE-3509
URL: http://tracker.firebirdsql.org/browse/CORE-3509
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 2.5.0
Environment: Apperars on Windows and Linux operating system, affects
Fb 2.5.0. Other operating system and I haven't tried
Reporter: Petr Gurin
alter procedure allows to add input or output parameter with the same name.
Selecting from procedure with such parameters crushes the server.
create or alter procedure Double_Params
returns
(ValueInt Integer)
as
begin
ValueInt = 1;
Suspend;
end;
Commit;
create or alter procedure Double_Params
returns
(ValueInt Integer,
ValueInt Integer)
as
begin
ValueInt = 1;
Suspend;
end;
Commit;
select * from Double_Params
--
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
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel