mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 18:43:02 +01:00
Fixed bug #8350 : Missed records in replicated database
This commit is contained in:
parent
ebfc854059
commit
d250eecd8a
@ -314,7 +314,7 @@ void Replicator::insertRecord(CheckStatusWrapper* status,
|
|||||||
{
|
{
|
||||||
const auto blobId = (ISC_QUAD*) field->getData();
|
const auto blobId = (ISC_QUAD*) field->getData();
|
||||||
|
|
||||||
if (blobId)
|
if (blobId && !BlobWrapper::blobIsNull(*blobId))
|
||||||
storeBlob(transaction, *blobId);
|
storeBlob(transaction, *blobId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -359,7 +359,7 @@ void Replicator::updateRecord(CheckStatusWrapper* status,
|
|||||||
{
|
{
|
||||||
const auto blobId = (ISC_QUAD*) field->getData();
|
const auto blobId = (ISC_QUAD*) field->getData();
|
||||||
|
|
||||||
if (blobId)
|
if (blobId && !BlobWrapper::blobIsNull(*blobId))
|
||||||
storeBlob(transaction, *blobId);
|
storeBlob(transaction, *blobId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user