summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/planner_analysis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/planner_analysis.cpp')
-rw-r--r--src/mongo/db/query/planner_analysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/planner_analysis.cpp b/src/mongo/db/query/planner_analysis.cpp
index d64f43b4611..7720824f7f7 100644
--- a/src/mongo/db/query/planner_analysis.cpp
+++ b/src/mongo/db/query/planner_analysis.cpp
@@ -341,7 +341,7 @@ std::unique_ptr<ProjectionNode> analyzeProjection(const CanonicalQuery& query,
const QueryRequest& qr = query.getQueryRequest();
// If there's no sort stage but we have a sortKey meta-projection, we need to add a stage to
- // generate the sort key computed data.
+ // generate the sort key metadata.
auto addSortKeyGeneratorStageIfNeeded = [&]() {
if (!hasSortStage && query.getProj()->wantSortKey()) {
auto keyGenNode = std::make_unique<SortKeyGeneratorNode>();