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

Fixed bug #8350 : Missed records in replicated database

This commit is contained in:
Vlad Khorsun 2024-12-11 18:14:38 +02:00
parent ebfc854059
commit d250eecd8a

View File

@ -314,7 +314,7 @@ void Replicator::insertRecord(CheckStatusWrapper* status,
{
const auto blobId = (ISC_QUAD*) field->getData();
if (blobId)
if (blobId && !BlobWrapper::blobIsNull(*blobId))
storeBlob(transaction, *blobId);
}
}
@ -359,7 +359,7 @@ void Replicator::updateRecord(CheckStatusWrapper* status,
{
const auto blobId = (ISC_QUAD*) field->getData();
if (blobId)
if (blobId && !BlobWrapper::blobIsNull(*blobId))
storeBlob(transaction, *blobId);
}
}