summaryrefslogtreecommitdiff
path: root/src/mongo/db/views
diff options
context:
space:
mode:
authorKatherine Wu <katherine.wu@mongodb.com>2020-06-11 20:34:02 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-12 00:46:41 +0000
commit914d4a3ab10c0291cc1658d43534d44083cb79d9 (patch)
tree5abf685f45744757223ac9604d1b56d04ecac10a /src/mongo/db/views
parent351ec9947164cd78c8f003e972ba5d71f6438b53 (diff)
downloadmongo-914d4a3ab10c0291cc1658d43534d44083cb79d9.tar.gz
Revert "SERVER-46716: Add tests for let parameters for sharded update"
This reverts commit 41fd8b2a5b227dda18ab81da51e10ecafcf64a52.
Diffstat (limited to 'src/mongo/db/views')
-rw-r--r--src/mongo/db/views/resolved_view.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/views/resolved_view.cpp b/src/mongo/db/views/resolved_view.cpp
index 5bb17093d21..714644ecca3 100644
--- a/src/mongo/db/views/resolved_view.cpp
+++ b/src/mongo/db/views/resolved_view.cpp
@@ -112,7 +112,7 @@ AggregationRequest ResolvedView::asExpandedViewAggregation(
expandedRequest.setBypassDocumentValidation(request.shouldBypassDocumentValidation());
expandedRequest.setAllowDiskUse(request.shouldAllowDiskUse());
expandedRequest.setIsMapReduceCommand(request.getIsMapReduceCommand());
- expandedRequest.setLetParameters(request.getLetParameters());
+ expandedRequest.letParameters = request.letParameters;
// Operations on a view must always use the default collation of the view. We must have already
// checked that if the user's request specifies a collation, it matches the collation of the