summaryrefslogtreecommitdiff
path: root/src/mongo/db/repair_database.cpp
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2015-08-26 17:22:37 -0400
committerGeert Bosch <geert@mongodb.com>2015-08-28 16:49:06 -0400
commit373952f62531be761c2836a84a937eef2386e14d (patch)
tree6bfb2cb3514cf0895f9c28de5d3911a1ade9109f /src/mongo/db/repair_database.cpp
parentc60f9d3318b3e3cbe8784cd7c3d9871c7a3391c2 (diff)
downloadmongo-373952f62531be761c2836a84a937eef2386e14d.tar.gz
SERVER-19708: Move RecordCursor::seekExact to derived SeekableRecordStore class
Diffstat (limited to 'src/mongo/db/repair_database.cpp')
-rw-r--r--src/mongo/db/repair_database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repair_database.cpp b/src/mongo/db/repair_database.cpp
index 392c81a080c..8f2b3f6da44 100644
--- a/src/mongo/db/repair_database.cpp
+++ b/src/mongo/db/repair_database.cpp
@@ -137,7 +137,7 @@ Status rebuildIndexesOnCollection(OperationContext* txn,
Status status = validateBSON(data.data(), data.size());
if (!status.isOK()) {
log() << "Invalid BSON detected at " << id << ": " << status << ". Deleting.";
- cursor->savePositioned(); // 'data' is no longer valid.
+ cursor->save(); // 'data' is no longer valid.
{
WriteUnitOfWork wunit(txn);
rs->deleteRecord(txn, id);