Issue Details (XML | Word | Printable)

Key: CORE-5761
Type: Improvement Improvement
Status: Open Open
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: Oleg Matveyev
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Incorrect error message "External functions cannot have more than 10 parameters."

Created: 27/Feb/18 10:43 AM   Updated: 27/Feb/18 01:33 PM
Component/s: None
Affects Version/s: 2.5.6
Fix Version/s: None

Environment: Firebird 2.5.6.27020

QA Status: No test


 Description  « Hide
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';


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Adriano dos Santos Fernandes added a comment - 27/Feb/18 01:33 PM
UDFs was been deprecated already, so does not seems as a thing that will change.