diff options
author | Anton Korshunov <anton.korshunov@mongodb.com> | 2019-02-27 16:22:31 +0000 |
---|---|---|
committer | Anton Korshunov <anton.korshunov@mongodb.com> | 2019-04-03 12:19:22 +0100 |
commit | d47bbc343af0b5bbde7b810f63e6b3404ea9e4d6 (patch) | |
tree | e2778eef1df27012e2540d3333ec95184d359fff /src/mongo/db/pipeline/document_source_cursor.cpp | |
parent | 6c2bd4b1be257ba7b9335e40c2af18ff25b7fcdd (diff) | |
download | mongo-d47bbc343af0b5bbde7b810f63e6b3404ea9e4d6.tar.gz |
SERVER-24860 Optimize away entire pipeline if it can be answered using a query
Diffstat (limited to 'src/mongo/db/pipeline/document_source_cursor.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_cursor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_cursor.cpp b/src/mongo/db/pipeline/document_source_cursor.cpp index 99e45abbfe9..d215450b169 100644 --- a/src/mongo/db/pipeline/document_source_cursor.cpp +++ b/src/mongo/db/pipeline/document_source_cursor.cpp @@ -240,6 +240,7 @@ Value DocumentSourceCursor::serialize(boost::optional<ExplainOptions::Verbosity> verbosity.get(), _execStatus, _winningPlanTrialStats.get(), + BSONObj(), &explainStatsBuilder); } |