[Firebird-devel] Odp: Re: UDF: Is it possible to return NULL instead of empty BLOB?

2014-01-10 Thread Wodzu
> > Try to pass parameters and return values by descriptor. Some samples are > in fbudf.cpp, your special attention to string2blob. > Thanks a lot for the tip. The key here was to setup up blob_handle = 0. I was afraid of doing this but if it is done in the fbudf than I am assuming it is all

Re: [Firebird-devel] UDF: Is it possible to return NULL instead of empty BLOB?

2014-01-10 Thread Alex
On 01/10/2014 11:51 AM, Wodzu wrote: > Hi guys, > > I've read all the information about developing UDFs which I could find. I > know that in earlier versions of Firebird it was not possible to pass NULL > parameters. However I am using Firebird 2.5 and I want to return a NULL value > instead of

[Firebird-devel] UDF: Is it possible to return NULL instead of empty BLOB?

2014-01-10 Thread Wodzu
Hi guys, I've read all the information about developing UDFs which I could find. I know that in earlier versions of Firebird it was not possible to pass NULL parameters. However I am using Firebird 2.5 and I want to return a NULL value instead of an empty BLOB. I do not want to pass NULLs. Is t