summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2018-09-18 09:00:19 -0400
committerGregory Wlodarek <gregory.wlodarek@mongodb.com>2018-09-18 09:00:19 -0400
commit185e2c6c38e959bbad40b624c4afeef5743f9c03 (patch)
treed16216788d41856820447a3e24b3d99303f62d9b
parentad8d4ad25ce0781995edcac9d25dce7a739b8315 (diff)
downloadmongo-185e2c6c38e959bbad40b624c4afeef5743f9c03.tar.gz
SERVER-36948 fix incorrect usage of StatusWith<T> in biggie storage engine
-rw-r--r--src/mongo/db/storage/biggie/biggie_record_store.cpp2
1 files changed, 1 insertions, 1 deletions
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<RecordData> RecordStore::updateWithDamages(OperationContext* opCtx,
const RecordData& oldRec,
const char* damageSource,
const mutablebson::DamageVector& damages) {
- return Status::OK();
+ return RecordData();
}
std::unique_ptr<SeekableRecordCursor> RecordStore::getCursor(OperationContext* opCtx,