Incorrect error message "External functions cannot have more than 10
parameters."
---------------------------------------------------------------------------------
Key: CORE-5761
URL: http://tracker.firebirdsql.org/browse/CORE-5761
Project: Firebird Core
Issue Type: Improvement
Affects Versions: 2.5.6
Environment: Firebird 2.5.6.27020
Reporter: Oleg Matveyev
Priority: Trivial
1. Correct command with no error messages:
DECLARE EXTERNAL FUNCTION udfTest15
INTEGER, -- 1
INTEGER, -- 2
INTEGER, -- 3
INTEGER, -- 4
INTEGER, -- 5
INTEGER, -- 6
INTEGER, -- 7
INTEGER, -- 8
INTEGER, -- 9
INTEGER, -- 10
INTEGER, -- 11
INTEGER, -- 12
INTEGER, -- 13
INTEGER, -- 14
INTEGER -- 15
RETURNS INTEGER BY VALUE
ENTRY_POINT 'udf' MODULE_NAME 'fbudf';
2. Command with error
Dynamic SQL Error.
SQL error code = -607.
Invalid command.
External functions cannot have more than 10 parameters.
DECLARE EXTERNAL FUNCTION udfTest16
INTEGER, -- 1
INTEGER, -- 2
INTEGER, -- 3
INTEGER, -- 4
INTEGER, -- 5
INTEGER, -- 6
INTEGER, -- 7
INTEGER, -- 8
INTEGER, -- 9
INTEGER, -- 10
INTEGER, -- 11
INTEGER, -- 12
INTEGER, -- 13
INTEGER, -- 14
INTEGER, -- 15
INTEGER -- 16
RETURNS INTEGER BY VALUE
ENTRY_POINT 'udf' MODULE_NAME 'fbudf';
--
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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel