diff options
author | Geert Bosch <geert@mongodb.com> | 2015-08-26 17:22:37 -0400 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2015-08-28 16:49:06 -0400 |
commit | 373952f62531be761c2836a84a937eef2386e14d (patch) | |
tree | 6bfb2cb3514cf0895f9c28de5d3911a1ade9109f /src/mongo/db/exec/delete.cpp | |
parent | c60f9d3318b3e3cbe8784cd7c3d9871c7a3391c2 (diff) | |
download | mongo-373952f62531be761c2836a84a937eef2386e14d.tar.gz |
SERVER-19708: Move RecordCursor::seekExact to derived SeekableRecordStore class
Diffstat (limited to 'src/mongo/db/exec/delete.cpp')
-rw-r--r-- | src/mongo/db/exec/delete.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/delete.cpp b/src/mongo/db/exec/delete.cpp index c491af42346..6a1441257c9 100644 --- a/src/mongo/db/exec/delete.cpp +++ b/src/mongo/db/exec/delete.cpp @@ -136,7 +136,7 @@ PlanStage::StageState DeleteStage::work(WorkingSetID* out) { try { // If the snapshot changed, then we have to make sure we have the latest copy of the // doc and that it still matches. - std::unique_ptr<RecordCursor> cursor; + std::unique_ptr<SeekableRecordCursor> cursor; if (getOpCtx()->recoveryUnit()->getSnapshotId() != member->obj.snapshotId()) { cursor = _collection->getCursor(getOpCtx()); if (!WorkingSetCommon::fetch(getOpCtx(), _ws, id, cursor)) { |