summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/optimizer/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/optimizer/node.h')
-rw-r--r--src/mongo/db/query/optimizer/node.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/mongo/db/query/optimizer/node.h b/src/mongo/db/query/optimizer/node.h
index 155f1d69f29..880d2fd5480 100644
--- a/src/mongo/db/query/optimizer/node.h
+++ b/src/mongo/db/query/optimizer/node.h
@@ -389,11 +389,7 @@ class RIDIntersectNode final : public Operator<2>, public ExclusivelyLogicalNode
using Base = Operator<2>;
public:
- RIDIntersectNode(ProjectionName scanProjectionName,
- bool hasLeftIntervals,
- bool hasRightIntervals,
- ABT leftChild,
- ABT rightChild);
+ RIDIntersectNode(ProjectionName scanProjectionName, ABT leftChild, ABT rightChild);
bool operator==(const RIDIntersectNode& other) const;
@@ -405,15 +401,8 @@ public:
const ProjectionName& getScanProjectionName() const;
- bool hasLeftIntervals() const;
- bool hasRightIntervals() const;
-
private:
const ProjectionName _scanProjectionName;
-
- // If true left and right children have at least one proper interval (not fully open).
- const bool _hasLeftIntervals;
- const bool _hasRightIntervals;
};
/**