diff options
author | Katherine Wu <katherine.wu@mongodb.com> | 2020-06-01 13:51:34 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-11 18:22:47 +0000 |
commit | 5c7cdc392c2ea058d7ec93609203fcc5bb74bb99 (patch) | |
tree | 3033463c9f2afd7f09907a2f22b120de9776b41f /src/mongo/db/views | |
parent | 01707971319a5970604c20598f286b2e1882a682 (diff) | |
download | mongo-5c7cdc392c2ea058d7ec93609203fcc5bb74bb99.tar.gz |
SERVER-46116 Add integration tests for let variables
Diffstat (limited to 'src/mongo/db/views')
-rw-r--r-- | src/mongo/db/views/resolved_view.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/views/resolved_view.cpp b/src/mongo/db/views/resolved_view.cpp index a8a1c9cf4a5..714644ecca3 100644 --- a/src/mongo/db/views/resolved_view.cpp +++ b/src/mongo/db/views/resolved_view.cpp @@ -112,6 +112,7 @@ AggregationRequest ResolvedView::asExpandedViewAggregation( expandedRequest.setBypassDocumentValidation(request.shouldBypassDocumentValidation()); expandedRequest.setAllowDiskUse(request.shouldAllowDiskUse()); expandedRequest.setIsMapReduceCommand(request.getIsMapReduceCommand()); + 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 |