summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/count.cpp
diff options
context:
space:
mode:
authorPawel Terlecki <pawel.terlecki@mongodb.com>2019-01-29 14:25:20 -0500
committerPawel Terlecki <pawel.terlecki@mongodb.com>2019-01-30 12:59:42 -0500
commitb7df0530e35a23bc1139f22a84ff4ba8b7688b4a (patch)
treeb8d3967252d3b207ee1925227cfd31266adf2130 /src/mongo/db/exec/count.cpp
parentd1771e696b6df883af70eedaaa0733548c573fec (diff)
downloadmongo-b7df0530e35a23bc1139f22a84ff4ba8b7688b4a.tar.gz
SERVER-38316 Consolidate PlanExecutor::DEAD and PlanExecutor::FAILURE
Replaced PlanStage::DEAD with PlanStage::FAILURE. In the subsequent commit, PlanExecutor::DEAD will be taken care of in the next commit
Diffstat (limited to 'src/mongo/db/exec/count.cpp')
-rw-r--r--src/mongo/db/exec/count.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/count.cpp b/src/mongo/db/exec/count.cpp
index 15d6ec5baff..3440e843780 100644
--- a/src/mongo/db/exec/count.cpp
+++ b/src/mongo/db/exec/count.cpp
@@ -82,7 +82,7 @@ PlanStage::StageState CountStage::doWork(WorkingSetID* out) {
if (PlanStage::IS_EOF == state) {
_commonStats.isEOF = true;
return PlanStage::IS_EOF;
- } else if (PlanStage::FAILURE == state || PlanStage::DEAD == state) {
+ } else if (PlanStage::FAILURE == state) {
// The stage which produces a failure is responsible for allocating a working set member
// with error details.
invariant(WorkingSet::INVALID_ID != id);