diff options
author | James Wahlin <james.wahlin@10gen.com> | 2015-04-21 08:50:52 -0400 |
---|---|---|
committer | James Wahlin <james.wahlin@10gen.com> | 2015-06-09 13:41:37 -0400 |
commit | d690653daadef98652e58131ade8b34114f86ab2 (patch) | |
tree | fd38454b9d4bc8d8d64c61334885e40d1644a235 /src/mongo/db/exec/skip.cpp | |
parent | 6f9285ba8e37aee90acb9069cfe477db626281c2 (diff) | |
download | mongo-d690653daadef98652e58131ade8b34114f86ab2.tar.gz |
SERVER-2454 Improve PlanExecutor::DEAD handling
Diffstat (limited to 'src/mongo/db/exec/skip.cpp')
-rw-r--r-- | src/mongo/db/exec/skip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/skip.cpp b/src/mongo/db/exec/skip.cpp index 1a8f0ab5d57..be2284bca0c 100644 --- a/src/mongo/db/exec/skip.cpp +++ b/src/mongo/db/exec/skip.cpp @@ -69,7 +69,7 @@ namespace mongo { ++_commonStats.advanced; return PlanStage::ADVANCED; } - else if (PlanStage::FAILURE == status) { + else if (PlanStage::FAILURE == status || PlanStage::DEAD == status) { *out = id; // If a stage fails, it may create a status WSM to indicate why it // failed, in which case 'id' is valid. If ID is invalid, we |