Skip to content

Commit 668fcdb

Browse files
committed
Fixed bug #8350 : Missed records in replicated database
1 parent a93abd0 commit 668fcdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jrd/replication/Replicator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ void Replicator::insertRecord(CheckStatusWrapper* status,
314314
{
315315
const auto blobId = (ISC_QUAD*) field->getData();
316316

317-
if (blobId)
317+
if (blobId && !BlobWrapper::blobIsNull(*blobId))
318318
storeBlob(transaction, *blobId);
319319
}
320320
}
@@ -359,7 +359,7 @@ void Replicator::updateRecord(CheckStatusWrapper* status,
359359
{
360360
const auto blobId = (ISC_QUAD*) field->getData();
361361

362-
if (blobId)
362+
if (blobId && !BlobWrapper::blobIsNull(*blobId))
363363
storeBlob(transaction, *blobId);
364364
}
365365
}

0 commit comments

Comments
 (0)