Subject | Re: [firebird-support] Re: Strange behavior (bug?) with udf |
---|---|
Author | Milan Babuskov |
Post date | 2010-03-09T07:42:31Z |
svanderclock wrote:
used instead, and BLOB handling is much slower.
BTW, I'm surprised that engine did not reject such UDF declaration.
--
Milan Babuskov
==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================
> I just discover something interesting :My guess is that once you go over the size limit for VARCHAR, BLOBs are
>
> you can also use the build in function substr instead of aludf_copy it's the same result..
>
> if the declaration is
>
> DECLARE EXTERNAL FUNCTION substr
> CSTRING(32744) CHARACTER SET ISO8859_1,
> SMALLINT,
> SMALLINT
> RETURNS CSTRING(32744) CHARACTER SET ISO8859_1 FREE_IT
> ENTRY_POINT 'IB_UDF_substr' MODULE_NAME 'ib_udf';
>
> Time to execute the sql: 827 ms
used instead, and BLOB handling is much slower.
BTW, I'm surprised that engine did not reject such UDF declaration.
--
Milan Babuskov
==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================