Skip to content

Firebird 6.0.0 error "Data type unknown" running udf which returns string using returns parameter <n> #9086

Description

@tonne1

FB 6.0.0.2068, more for completeness, another legacy bug, Udfs are deprecated of course and this could be rewritten as UDR. The same udf runs fine in FB5.

declare external function FOO
cstring(100), cstring(4096)
returns parameter 2
entry_point 'foo'
module_name 'my_udf';

select foo('abc') from rdb$database;
SQL Message : -804
An error was found in the application program input parameters for the SQL statement.

Engine Code    : 335544569
Engine Message :
Dynamic SQL Error
SQL error code = -804
Data type unknown

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions