summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/collection_scan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/collection_scan.cpp')
-rw-r--r--src/mongo/db/exec/collection_scan.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/exec/collection_scan.cpp b/src/mongo/db/exec/collection_scan.cpp
index e6ead6b431c..a4179218638 100644
--- a/src/mongo/db/exec/collection_scan.cpp
+++ b/src/mongo/db/exec/collection_scan.cpp
@@ -213,8 +213,6 @@ void CollectionScan::doSaveState() {
void CollectionScan::doRestoreState() {
if (_cursor) {
if (!_cursor->restore()) {
- warning() << "Could not restore RecordCursor for CollectionScan: "
- << getOpCtx()->getNS();
_isDead = true;
}
}