Subject | Re: [firebird-support] Blob write to Embedded on Linux performance |
---|---|
Author | Frank Schlottmann-Gödde |
Post date | 2014-06-07T13:42:30Z |
On 06.06.2014 15:11, Mike Ro miker169@... [firebird-support] wrote:
the blob reading UDF for testing.
This is probably the cause of the exception:
DECLARE EXTERNAL FUNCTION f_insertblob CSTRING(255), BLOB RETURNS
PARAMETER 2
entry_point 'insertblob' module_name 'test_udf.so'
The function expects to get a blobcallback structure from the server,
"returns parameter 2" lets the engine provide it.
Frank
> Frank, thank you for taking the time to do this. It confirms that there is definitely something wrong with my setup (are you using Firebird version 2.5.2?).No, its LI-T3.0.0.31151 Firebird 3.0 Alpha 2, but that should not matter
> Could you also share your table definition, especially what indexes orNothing special here, it only contains raw weather data, I just added
> constraints you have defined as I wonder if this is causing the
> exception? Also do you have anything special in your firebird.conf?
> .ddd,_._,___
>
the blob reading UDF for testing.
This is probably the cause of the exception:
> declare external function f_insertblob cstring (20), blob returns int byshould be
> value entry_point 'insertblob' module_name 'test_udf.so';
DECLARE EXTERNAL FUNCTION f_insertblob CSTRING(255), BLOB RETURNS
PARAMETER 2
entry_point 'insertblob' module_name 'test_udf.so'
The function expects to get a blobcallback structure from the server,
"returns parameter 2" lets the engine provide it.
Frank