diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2017-08-07 15:07:47 +0100 |
---|---|---|
committer | Bernard Gorman <bernard.gorman@gmail.com> | 2017-08-08 19:04:30 +0100 |
commit | 9062f71621d053e32beec1061f708e3fd08b0158 (patch) | |
tree | 82fd151004fc4192126d71628e765e9257128feb /src/mongo/db/pipeline/document_source_coll_stats.h | |
parent | 1dabf89e81b06b4d93a447e1fa5f6742b2f7afa1 (diff) | |
download | mongo-9062f71621d053e32beec1061f708e3fd08b0158.tar.gz |
SERVER-22760 Sharded aggregation pipelines which involve taking a simple union should merge on mongos
Diffstat (limited to 'src/mongo/db/pipeline/document_source_coll_stats.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source_coll_stats.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_coll_stats.h b/src/mongo/db/pipeline/document_source_coll_stats.h index 6334bbe55c8..2903241d1a7 100644 --- a/src/mongo/db/pipeline/document_source_coll_stats.h +++ b/src/mongo/db/pipeline/document_source_coll_stats.h @@ -76,7 +76,7 @@ public: StageConstraints constraints() const final { StageConstraints constraints; - constraints.requiredPosition = StageConstraints::PositionRequirement::kFirst; + constraints.requiredPosition = PositionRequirement::kFirst; constraints.requiresInputDocSource = false; constraints.isAllowedInsideFacetStage = false; return constraints; |