summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/distinct.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/distinct.cpp')
-rw-r--r--src/mongo/db/commands/distinct.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/commands/distinct.cpp b/src/mongo/db/commands/distinct.cpp
index 57585a88401..da5b72c80e6 100644
--- a/src/mongo/db/commands/distinct.cpp
+++ b/src/mongo/db/commands/distinct.cpp
@@ -164,6 +164,7 @@ public:
auto viewAggCmd =
OpMsgRequest::fromDBAndBody(nss.db(), viewAggregation.getValue()).body;
auto viewAggRequest = aggregation_request_helper::parseFromBSON(
+ opCtx,
nss,
viewAggCmd,
verbosity,