summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_cursor.cpp
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2019-02-26 17:51:45 -0500
committerDavid Storch <david.storch@10gen.com>2019-03-11 10:14:57 -0400
commitc0492bf5b77542cbacd73bcfe1e0c999b8078c07 (patch)
tree47735a9c7aaa58b9af8d646be99700be1426ada9 /src/mongo/db/pipeline/document_source_cursor.cpp
parent9a7cfb73da3a86d1c20f674140f1f908e2bae0c8 (diff)
downloadmongo-c0492bf5b77542cbacd73bcfe1e0c999b8078c07.tar.gz
SERVER-40056 Remove partial implementation of streaming $group.
The streaming $group optimization was never fully implemented, so the code was disabled. This patch removes the dead code, including DocumentSource::getOutputSorts().
Diffstat (limited to 'src/mongo/db/pipeline/document_source_cursor.cpp')
-rw-r--r--src/mongo/db/pipeline/document_source_cursor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_cursor.cpp b/src/mongo/db/pipeline/document_source_cursor.cpp
index d3f1ae34003..99e45abbfe9 100644
--- a/src/mongo/db/pipeline/document_source_cursor.cpp
+++ b/src/mongo/db/pipeline/document_source_cursor.cpp
@@ -303,7 +303,6 @@ DocumentSourceCursor::DocumentSourceCursor(
: DocumentSource(pCtx),
_docsAddedToBatches(0),
_exec(std::move(exec)),
- _outputSorts(_exec->getOutputSorts()),
_trackOplogTS(trackOplogTimestamp) {
// Later code in the DocumentSourceCursor lifecycle expects that '_exec' is in a saved state.
_exec->saveState();