diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2022-07-06 22:44:47 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-06 23:35:07 +0000 |
commit | 10df28a8ef8b90ebdf75b20cfd4731d89feda46b (patch) | |
tree | 183f190191e6a9d2f63d9026ac10277ab81e8e58 /src/mongo/db/query/projection.h | |
parent | e8db2d2a5f4f3a61484c576eef00f39f9feb5d73 (diff) | |
download | mongo-10df28a8ef8b90ebdf75b20cfd4731d89feda46b.tar.gz |
SERVER-66061 Remove redundant projection in COLUMN_SCAN plans
Diffstat (limited to 'src/mongo/db/query/projection.h')
-rw-r--r-- | src/mongo/db/query/projection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/projection.h b/src/mongo/db/query/projection.h index 97b8d1e0d30..d1336db9754 100644 --- a/src/mongo/db/query/projection.h +++ b/src/mongo/db/query/projection.h @@ -93,7 +93,7 @@ public: /** * Return which fields are required to compute the projection, assuming the entire document is - * not needed. + * not needed. Includes _id explicitly if it is required - implicitily or explicitly. */ const OrderedPathSet& getRequiredFields() const { invariant(_type == ProjectType::kInclusion); |