summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_executor_impl.cpp
diff options
context:
space:
mode:
authorMindaugas Malinauskas <mindaugas.malinauskas@mongodb.com>2021-02-03 10:52:08 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-03-10 13:01:50 +0000
commit159a29e1e69948106f5bc601042b1baecf6fe982 (patch)
treef9ba9d588363c4f680f5764617eac266e7df4b33 /src/mongo/db/query/plan_executor_impl.cpp
parentbfbe088aabd4716348eb17602f669613f9ce6b45 (diff)
downloadmongo-159a29e1e69948106f5bc601042b1baecf6fe982.tar.gz
SERVER-53534 Support including postBatchResumeToken in cursor response for non-change streams aggregations
Diffstat (limited to 'src/mongo/db/query/plan_executor_impl.cpp')
-rw-r--r--src/mongo/db/query/plan_executor_impl.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/query/plan_executor_impl.cpp b/src/mongo/db/query/plan_executor_impl.cpp
index 9a92275e0cb..1e5516d09a9 100644
--- a/src/mongo/db/query/plan_executor_impl.cpp
+++ b/src/mongo/db/query/plan_executor_impl.cpp
@@ -467,10 +467,6 @@ void PlanExecutorImpl::markAsKilled(Status killStatus) {
}
void PlanExecutorImpl::dispose(OperationContext* opCtx) {
- if (_currentState == kDisposed) {
- return;
- }
-
_currentState = kDisposed;
}