summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2015-07-20 10:46:59 -0400
committerDavid Storch <david.storch@10gen.com>2015-07-20 11:21:46 -0400
commit9baa685a5b73b3c608e25652ec67e287227f8477 (patch)
tree518c86037cf778cd67df13b66fc7eda47ebbb3f1
parent53a4724ee0a163e8666d602d53d7ef8920c3463e (diff)
downloadmongo-9baa685a5b73b3c608e25652ec67e287227f8477.tar.gz
SERVER-19489 WorkingSet::clear() now clears the list of WorkingSetIDs that need to be examined on yield
Fixes an assertion failure that could be triggered by a rooted $or query.
-rw-r--r--src/mongo/db/exec/working_set.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/exec/working_set.cpp b/src/mongo/db/exec/working_set.cpp
index 22799aaf202..3b0a73993a0 100644
--- a/src/mongo/db/exec/working_set.cpp
+++ b/src/mongo/db/exec/working_set.cpp
@@ -102,6 +102,7 @@ namespace mongo {
_freeList = INVALID_ID;
_flagged.clear();
+ _idxIds.clear();
}
void WorkingSet::flagNewIdxId(const WorkingSetID& id) {