summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/and_sorted.cpp
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2014-01-13 14:28:54 -0500
committerHari Khalsa <hkhalsa@10gen.com>2014-01-14 10:30:26 -0500
commit12c261b2cb30ed3e50261abad95df249a5503283 (patch)
tree25ad8622f38867b2fc51c074d42f6784a8a69da5 /src/mongo/db/exec/and_sorted.cpp
parent59b0371902b5b278ef1e88a9c15424c6efeea666 (diff)
downloadmongo-12c261b2cb30ed3e50261abad95df249a5503283.tar.gz
SERVER-10026 SERVER-12046 SERVER-12113 runner/stage invalidation can be mutation or deletion
Diffstat (limited to 'src/mongo/db/exec/and_sorted.cpp')
-rw-r--r--src/mongo/db/exec/and_sorted.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/and_sorted.cpp b/src/mongo/db/exec/and_sorted.cpp
index cd3e4472345..8cd51398093 100644
--- a/src/mongo/db/exec/and_sorted.cpp
+++ b/src/mongo/db/exec/and_sorted.cpp
@@ -227,13 +227,13 @@ namespace mongo {
}
}
- void AndSortedStage::invalidate(const DiskLoc& dl) {
+ void AndSortedStage::invalidate(const DiskLoc& dl, InvalidationType type) {
++_commonStats.invalidates;
if (isEOF()) { return; }
for (size_t i = 0; i < _children.size(); ++i) {
- _children[i]->invalidate(dl);
+ _children[i]->invalidate(dl, type);
}
if (dl == _targetLoc) {