summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/run_aggregate.cpp
diff options
context:
space:
mode:
authorNick Zolnierz <nicholas.zolnierz@mongodb.com>2018-07-10 17:08:48 -0400
committerNick Zolnierz <nicholas.zolnierz@mongodb.com>2018-08-08 09:49:15 -0400
commit2e69710b5bf058dae6d04ada3cb003cbf872c3a8 (patch)
tree0376fba9838b464855f78be055e6be1b67e7bf16 /src/mongo/db/commands/run_aggregate.cpp
parentcaa085deb9a7ebe3b3dcd8804d47117b73c9fb0b (diff)
downloadmongo-2e69710b5bf058dae6d04ada3cb003cbf872c3a8.tar.gz
SERVER-35895: Add ability for $out to write to remote hosts
Diffstat (limited to 'src/mongo/db/commands/run_aggregate.cpp')
-rw-r--r--src/mongo/db/commands/run_aggregate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/run_aggregate.cpp b/src/mongo/db/commands/run_aggregate.cpp
index 3fa7c3ffa93..358028ac6b0 100644
--- a/src/mongo/db/commands/run_aggregate.cpp
+++ b/src/mongo/db/commands/run_aggregate.cpp
@@ -491,7 +491,7 @@ Status runAggregate(OperationContext* opCtx,
new ExpressionContext(opCtx,
request,
std::move(*collatorToUse),
- std::make_shared<MongoDInterface>(opCtx),
+ MongoDInterface::create(opCtx),
uassertStatusOK(resolveInvolvedNamespaces(opCtx, request)),
uuid));
expCtx->tempDir = storageGlobalParams.dbpath + "/_tmp";