diff options
Diffstat (limited to 'src/mongo/s/query/cluster_aggregation_planner.cpp')
-rw-r--r-- | src/mongo/s/query/cluster_aggregation_planner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/query/cluster_aggregation_planner.cpp b/src/mongo/s/query/cluster_aggregation_planner.cpp index 5b7ea00286f..5c4716e229f 100644 --- a/src/mongo/s/query/cluster_aggregation_planner.cpp +++ b/src/mongo/s/query/cluster_aggregation_planner.cpp @@ -126,7 +126,7 @@ BSONObj createCommandForMergingShard(Document serializedCommand, mergeCmd["pipeline"] = Value(pipelineForMerging->serialize()); mergeCmd[AggregationRequest::kFromMongosName] = Value(true); - mergeCmd[AggregationRequest::kRuntimeConstantsName] = + mergeCmd[AggregationRequest::kRuntimeConstants] = Value(mergeCtx->getRuntimeConstants().toBSON()); // If the user didn't specify a collation already, make sure there's a collation attached to |