From 185e2c6c38e959bbad40b624c4afeef5743f9c03 Mon Sep 17 00:00:00 2001 From: Gregory Wlodarek Date: Tue, 18 Sep 2018 09:00:19 -0400 Subject: SERVER-36948 fix incorrect usage of StatusWith in biggie storage engine --- src/mongo/db/storage/biggie/biggie_record_store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mongo/db/storage/biggie/biggie_record_store.cpp b/src/mongo/db/storage/biggie/biggie_record_store.cpp index 45d25c0ba0d..d8cf9608510 100644 --- a/src/mongo/db/storage/biggie/biggie_record_store.cpp +++ b/src/mongo/db/storage/biggie/biggie_record_store.cpp @@ -214,7 +214,7 @@ StatusWith RecordStore::updateWithDamages(OperationContext* opCtx, const RecordData& oldRec, const char* damageSource, const mutablebson::DamageVector& damages) { - return Status::OK(); + return RecordData(); } std::unique_ptr RecordStore::getCursor(OperationContext* opCtx, -- cgit v1.2.1