UDF with cstring(32000) was previously suported but now it is not
-----------------------------------------------------------------
Key: CORE-4829
URL: http://tracker.firebirdsql.org/browse/CORE-4829
Project: Firebird Core
Issue Type: Bug
Components: Engine
Reporter: Karol Bieniaszewski
Previously - i suppose in FB2.5.3 it was able to declare below udf function
But now it is not - in FB2.5.4 and also in FB3
DECLARE EXTERNAL FUNCTION IMPORT_CSV_BLOB
cstring(32000), cstring(496), cstring(8000), cstring(16000), blob, cstring(16),
cstring(16), cstring(16)
RETURNS integer BY VALUE
ENTRY_POINT 'IMPORT_CSV_BLOB'
MODULE_NAME 'UDF_CSV';
Error: *** IBPP::SQLException ***
Context: Statement::Prepare( DECLARE EXTERNAL FUNCTION IMPORT_CSV_BLOBXXX
cstring(32000), cstring(496), cstring(8000), cstring(16000), blob, cstring(16),
cstring(16), cstring(16)
RETURNS integer BY VALUE
ENTRY_POINT 'IMPORT_CSV_BLOB'
MODULE_NAME 'UDF_CSV' )
Message: isc_dsql_prepare failed
SQL Message : -204
Undefined name
Engine Code : 336397260
Engine Message :
unknown ISC error 336397260
Dynamic SQL Error
SQL error code = -204
Data type unknown
Implementation limit exceeded
COLUMN
but database with this declaretion backed up can be restored in both FB.2.5.4
and FB3
--
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
------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel