summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_internal_split_pipeline.h
diff options
context:
space:
mode:
authorBernard Gorman <bernard.gorman@gmail.com>2017-11-13 21:17:43 +0000
committerBernard Gorman <bernard.gorman@gmail.com>2017-11-16 03:05:18 +0000
commit340bf8c5f1bef80037e336c699f7c69753a25567 (patch)
tree0a6166530b5c7bc1484d534e31863daa857ce31f /src/mongo/db/pipeline/document_source_internal_split_pipeline.h
parentad803634c69671ec7c43b0ca78edd30ad22b4e63 (diff)
downloadmongo-340bf8c5f1bef80037e336c699f7c69753a25567.tar.gz
SERVER-31731 Test that mongos accepts a --timeZoneInfo parameter, and can correctly execute expressions using time zones
Diffstat (limited to 'src/mongo/db/pipeline/document_source_internal_split_pipeline.h')
-rw-r--r--src/mongo/db/pipeline/document_source_internal_split_pipeline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_internal_split_pipeline.h b/src/mongo/db/pipeline/document_source_internal_split_pipeline.h
index 0949f7d2f90..d2f0e89754a 100644
--- a/src/mongo/db/pipeline/document_source_internal_split_pipeline.h
+++ b/src/mongo/db/pipeline/document_source_internal_split_pipeline.h
@@ -59,11 +59,11 @@ public:
}
boost::intrusive_ptr<DocumentSource> getShardSource() final {
- return this;
+ return nullptr;
}
std::list<boost::intrusive_ptr<DocumentSource>> getMergeSources() final {
- return {DocumentSourceInternalSplitPipeline::create(pExpCtx, _mergeType)};
+ return {this};
}
StageConstraints constraints(Pipeline::SplitState pipeState) const final {