8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

Make BPB correctly

This commit is contained in:
hvlad 2012-11-27 11:16:21 +00:00
parent 670587f63b
commit b1e465c84a

View File

@ -1394,7 +1394,7 @@ void Statement::getExtBlob(thread_db* tdbb, const dsc& src, dsc& dst)
extBlob->open(tdbb, *m_transaction, src, NULL);
jrd_req* request = tdbb->getRequest();
const UCHAR bpb[] = {isc_bpb_version1, isc_bpb_storage, isc_bpb_storage_temp};
const UCHAR bpb[] = {isc_bpb_version1, isc_bpb_storage, 1, isc_bpb_storage_temp};
bid* localBlobID = (bid*) dst.dsc_address;
destBlob = blb::create2(tdbb, request->req_transaction, localBlobID, sizeof(bpb), bpb);