Subject Re: [firebird-support] UDF - reading BLOB length
Author Josef Kokeš
On 31.7.2012 14:12, Josef Kokeš wrote:
> Nice - this will also fail with the same error:
>
> function BLOBLEN(Value: PBlob): Integer; cdecl;
> begin
> Result := 1;
> end;
>
> I admit I find this very mystifying.

Never mind, found it - the problem was not in the function, but in the
SQL declaration - I need "RETURNS INTEGER BY VALUE" rather than "RETURNS
INTEGER".

Josef