Subject | RE: [firebird-support] UDF declaration error in FB 2.1.3 |
---|---|
Author | Rick Debay |
Post date | 2010-03-24T19:47:22Z |
I set the size of CSTRING back to 255, and it works now.
-----Original Message-----
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Rick Debay
Sent: Tuesday, March 23, 2010 5:04 PM
To: firebird-support@yahoogroups.com
Subject: [firebird-support] UDF declaration error in FB 2.1.3
I exported this declaration from a 1.5 database, for testing in 2.1.3 in
preparation for 2.5.
DECLARE EXTERNAL FUNCTION LTRIM
CSTRING(32765)
RETURNS CSTRING(32765) FREE_IT
ENTRY_POINT 'IB_UDF_ltrim' MODULE_NAME 'ib_udf';
Executing it returns the exception:
ISC ERROR CODE:335544569
ISC ERROR MESSAGE:
Dynamic SQL Error
SQL error code = -204
Data type unknown
Implementation limit exceeded
COLUMN DSQL internal
Disclaimer: This message (including attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. RxStrategies, Inc. shall not be liable for the improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system. RxStrategies, Inc. does not guarantee that the integrity of this communication has been maintained nor that this communication is free from viruses, interceptions or interference.
-----Original Message-----
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Rick Debay
Sent: Tuesday, March 23, 2010 5:04 PM
To: firebird-support@yahoogroups.com
Subject: [firebird-support] UDF declaration error in FB 2.1.3
I exported this declaration from a 1.5 database, for testing in 2.1.3 in
preparation for 2.5.
DECLARE EXTERNAL FUNCTION LTRIM
CSTRING(32765)
RETURNS CSTRING(32765) FREE_IT
ENTRY_POINT 'IB_UDF_ltrim' MODULE_NAME 'ib_udf';
Executing it returns the exception:
ISC ERROR CODE:335544569
ISC ERROR MESSAGE:
Dynamic SQL Error
SQL error code = -204
Data type unknown
Implementation limit exceeded
COLUMN DSQL internal
Disclaimer: This message (including attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. RxStrategies, Inc. shall not be liable for the improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system. RxStrategies, Inc. does not guarantee that the integrity of this communication has been maintained nor that this communication is free from viruses, interceptions or interference.