summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/optimizer/props.h
diff options
context:
space:
mode:
authorSvilen Mihaylov <svilen.mihaylov@mongodb.com>2022-02-17 14:54:32 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-02-17 15:26:13 +0000
commit7b8ecd4a93a5838ce5acbb7d49ef61fad60d1b3e (patch)
treed036dcb3f6c562e09680df353f275ba973ff691c /src/mongo/db/query/optimizer/props.h
parent72d97a31544009862f4193166320901e9c21b16d (diff)
downloadmongo-7b8ecd4a93a5838ce5acbb7d49ef61fad60d1b3e.tar.gz
SERVER-63635 Explicitly request rid projection in ProjectionRequirements properly instead of implicitly in IndexingRequirement
Diffstat (limited to 'src/mongo/db/query/optimizer/props.h')
-rw-r--r--src/mongo/db/query/optimizer/props.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/query/optimizer/props.h b/src/mongo/db/query/optimizer/props.h
index 63c49f51774..cd067bf95ba 100644
--- a/src/mongo/db/query/optimizer/props.h
+++ b/src/mongo/db/query/optimizer/props.h
@@ -285,7 +285,6 @@ class IndexingRequirement final : public PhysPropertyTag {
public:
IndexingRequirement();
IndexingRequirement(IndexReqTarget indexReqTarget,
- bool needsRID,
bool dedupRIDs,
GroupIdType satisfiedPartialIndexesGroupId);
@@ -294,7 +293,6 @@ public:
ProjectionNameSet getAffectedProjectionNames() const;
IndexReqTarget getIndexReqTarget() const;
- bool getNeedsRID() const;
bool getDedupRID() const;
void setDedupRID(bool value);
@@ -304,9 +302,6 @@ public:
private:
const IndexReqTarget _indexReqTarget;
- // Do we need to return an RID projection.
- const bool _needsRID;
-
// If target == Index, specifies if we need to dedup RIDs.
// Prior RID intersection removes the need to dedup.
bool _dedupRID;