
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
fbserver.exe 2.1.0.17798
Delphi 2005
fbserver.exe 2.1.0.17798
Delphi 2005
|
|
| Planning Status: |
Unspecified
|
|
DECLARE EXTERNAL FUNCTION FN_BLOBCAT
BLOB, BLOB
RETURNS BLOB
ENTRY_POINT 'BlobCat' MODULE_NAME 'mydll.dll';
IBQuery1.SQL.Text := 'select FN_BLOBCAT(:B1,:B2) from rdb$database';
IBQuery1.ParamByName('B1').asBlob := '12345';
IBQuery1.ParamByName('B2').asBlob := '67890';
IBQuery1.Open;
runtime error at Open: message length error (encountered @1, expected @2)
|
|
Description
|
DECLARE EXTERNAL FUNCTION FN_BLOBCAT
BLOB, BLOB
RETURNS BLOB
ENTRY_POINT 'BlobCat' MODULE_NAME 'mydll.dll';
IBQuery1.SQL.Text := 'select FN_BLOBCAT(:B1,:B2) from rdb$database';
IBQuery1.ParamByName('B1').asBlob := '12345';
IBQuery1.ParamByName('B2').asBlob := '67890';
IBQuery1.Open;
runtime error at Open: message length error (encountered @1, expected @2)
|
Show » |
|
Proposed path:
--- ddl.cpp Fri Sep 18 23:03:18 2009
+++ ddl.cpp.new Fri Sep 18 22:09:54 2009
@@ -6038,6 +6038,10 @@
}
statement->append_number(isc_dyn_fld_segment_length, field->fld_seg_length);
}
+ else
+ {
+ statement->append_number(isc_dyn_fld_length, sizeof(ISC_QUAD));
+ }
if (field->fld_sub_type == isc_blob_text) {
statement->append_number(isc_dyn_fld_character_set, field->fld_character_set_id);
statement->append_number(isc_dyn_fld_collation, field->fld_collation_id);