diff options
author | Nicholas Zolnierz <nicholas.zolnierz@mongodb.com> | 2020-01-23 15:20:32 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2020-01-23 15:20:32 +0000 |
commit | 85f4d7a449d5bb6eb5668ea53f727f591cc820ad (patch) | |
tree | 8e61a39a8e01113346f31ee21a80150e5c46ebd3 | |
parent | 864b6a385c1ae17bf57c33bb471f917599f8e24b (diff) | |
download | mongo-85f4d7a449d5bb6eb5668ea53f727f591cc820ad.tar.gz |
SERVER-45704 Guard $unionWith behind testCommandsEnabled flag
-rw-r--r-- | src/mongo/db/pipeline/document_source_union_with.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/pipeline/document_source_union_with.cpp b/src/mongo/db/pipeline/document_source_union_with.cpp index fa478bf653f..66fd28caa94 100644 --- a/src/mongo/db/pipeline/document_source_union_with.cpp +++ b/src/mongo/db/pipeline/document_source_union_with.cpp @@ -32,9 +32,9 @@ namespace mongo { -REGISTER_DOCUMENT_SOURCE(unionWith, - DocumentSourceUnionWith::LiteParsed::parse, - DocumentSourceUnionWith::createFromBson); +REGISTER_TEST_DOCUMENT_SOURCE(unionWith, + DocumentSourceUnionWith::LiteParsed::parse, + DocumentSourceUnionWith::createFromBson); std::unique_ptr<DocumentSourceUnionWith::LiteParsed> DocumentSourceUnionWith::LiteParsed::parse( const AggregationRequest& request, const BSONElement& spec) { |