Re: [Firebird-devel] Declaring UDF with more than 10 input parameters

2013-02-09 Thread Adriano dos Santos Fernandes
On 06-02-2013 15:20, Leyne, Sean wrote: Sean, currently code, calling UDF, looks this way template typename T T CALL_UDF(Jrd::Attachment* att, int (*entrypoint)(), UDF_ARG* args) { Jrd::Attachment::Checkout attCout(att, FB_FUNCTION); return ((T (*)(UDF_ARG, UDF_ARG, UDF_ARG,

Re: [Firebird-devel] Declaring UDF with more than 10 input parameters

2013-02-06 Thread Adriano dos Santos Fernandes
On 06-02-2013 03:58, Alex Peshkoff wrote: On 02/05/13 21:26, Leyne, Sean wrote: With my 18+ years of using IB/FB I never ran into this issue, never had to use a UDF with more than 5 params, so I was surprised by the error. Is there a 'real' reason why there is a parameter limit? Or, is it a

Re: [Firebird-devel] Declaring UDF with more than 10 input parameters

2013-02-06 Thread Leyne, Sean
Sean, currently code, calling UDF, looks this way template typename T T CALL_UDF(Jrd::Attachment* att, int (*entrypoint)(), UDF_ARG* args) { Jrd::Attachment::Checkout attCout(att, FB_FUNCTION); return ((T (*)(UDF_ARG, UDF_ARG, UDF_ARG, UDF_ARG, UDF_ARG, UDF_ARG, UDF_ARG,

Re: [Firebird-devel] Declaring UDF with more than 10 input parameters

2013-02-05 Thread Adriano dos Santos Fernandes
On 05-02-2013 14:37, Leyne, Sean wrote: Hello all, Have run into a situation where I have a UDF which needs more than 10 input parameters, but when I try to declare it in DDL the engine reports the following error: This operation is not defined for system tables. SQL error code = -607.