diff --git a/src/jrd/replication/Replicator.cpp b/src/jrd/replication/Replicator.cpp index c1b9ea540a..09c1004d73 100644 --- a/src/jrd/replication/Replicator.cpp +++ b/src/jrd/replication/Replicator.cpp @@ -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); } }