summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/mr_common.cpp
diff options
context:
space:
mode:
authorTed Tuckman <ted.tuckman@mongodb.com>2020-02-21 13:34:55 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-26 14:47:41 +0000
commit952fa6f3f323e5e6cfb4cf996ed1eef4ae52a9d6 (patch)
tree3248b10ac14913368c83e02ab9efd5245ab5b589 /src/mongo/db/commands/mr_common.cpp
parent6bbb8a83a1df51bf88d18961425501301915fc0a (diff)
downloadmongo-952fa6f3f323e5e6cfb4cf996ed1eef4ae52a9d6.tar.gz
SERVER-46110 Expose $internalOutToDifferentDB in $out
Diffstat (limited to 'src/mongo/db/commands/mr_common.cpp')
-rw-r--r--src/mongo/db/commands/mr_common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/mr_common.cpp b/src/mongo/db/commands/mr_common.cpp
index 9f9a2e0c7fa..52cd8bf0434 100644
--- a/src/mongo/db/commands/mr_common.cpp
+++ b/src/mongo/db/commands/mr_common.cpp
@@ -169,7 +169,7 @@ auto translateFinalize(boost::intrusive_ptr<ExpressionContext> expCtx,
auto translateOutReplace(boost::intrusive_ptr<ExpressionContext> expCtx,
NamespaceString targetNss) {
- return DocumentSourceOut::createAndAllowDifferentDB(std::move(targetNss), expCtx);
+ return DocumentSourceOut::create(std::move(targetNss), expCtx);
}
auto translateOutMerge(boost::intrusive_ptr<ExpressionContext> expCtx,