Subject | error executing sql script that calls a udf REFdn3014321339 ref/x |
---|---|
Author | dennis |
Post date | 2009-04-29T10:29:31Z |
error: Stack overflow. The resource requirements of the runtime stack have exceeded the memory available to it
This error occurred when the udf has 4 parameters. If there are 3 (and bellow) parameters the query executed as good, when I add the 4th this error occurred. Why is this happening? Is there any restriction on the amount of the parameters?
Note: of course, any change I made on parameters is done in source of the dll, in the declaration of the udf and the dll is update in firebirds path.
The declare:
DECLARE EXTERNAL FUNCTION DN_FIXSTRING
cstring(100),cstring(100),cstring(100) /*,cstring(100) the wrong parameter*/
RETURNS cstring(300)
ENTRY_POINT 'dn_fixstring' MODULE_NAME 'dn_sql_dll_functions';
commit work;
Kind regards
Dennis
[Non-text portions of this message have been removed]
This error occurred when the udf has 4 parameters. If there are 3 (and bellow) parameters the query executed as good, when I add the 4th this error occurred. Why is this happening? Is there any restriction on the amount of the parameters?
Note: of course, any change I made on parameters is done in source of the dll, in the declaration of the udf and the dll is update in firebirds path.
The declare:
DECLARE EXTERNAL FUNCTION DN_FIXSTRING
cstring(100),cstring(100),cstring(100) /*,cstring(100) the wrong parameter*/
RETURNS cstring(300)
ENTRY_POINT 'dn_fixstring' MODULE_NAME 'dn_sql_dll_functions';
commit work;
Kind regards
Dennis
[Non-text portions of this message have been removed]