summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_change_stream.cpp
diff options
context:
space:
mode:
authorDavid Percy <david.percy@mongodb.com>2021-01-26 18:28:18 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-26 20:07:59 +0000
commit1f4b281907b264bd9d40a6ad6d3b6b9ae785cd90 (patch)
tree8e68dbc322317ea29da92df455bff34e2a611682 /src/mongo/db/pipeline/document_source_change_stream.cpp
parentca60b05cbd7d777733f8311d6943ff1e012f0c24 (diff)
downloadmongo-1f4b281907b264bd9d40a6ad6d3b6b9ae785cd90.tar.gz
Revert "SERVER-53397 Desugar $setWindowFields partitionBy using $sort"
This reverts commit dc1c3a791f63dfb909ed520aadab66a4b1ce66e9.
Diffstat (limited to 'src/mongo/db/pipeline/document_source_change_stream.cpp')
-rw-r--r--src/mongo/db/pipeline/document_source_change_stream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/pipeline/document_source_change_stream.cpp b/src/mongo/db/pipeline/document_source_change_stream.cpp
index 7b80cb18d02..bad92703daa 100644
--- a/src/mongo/db/pipeline/document_source_change_stream.cpp
+++ b/src/mongo/db/pipeline/document_source_change_stream.cpp
@@ -65,9 +65,9 @@ using std::vector;
// and re-parse the pipeline. To make this work, the 'transformation' stage will serialize itself
// with the original specification, and all other stages that are created during the alias expansion
// will not serialize themselves.
-REGISTER_DOCUMENT_SOURCE(changeStream,
- DocumentSourceChangeStream::LiteParsed::parse,
- DocumentSourceChangeStream::createFromBson);
+REGISTER_MULTI_STAGE_ALIAS(changeStream,
+ DocumentSourceChangeStream::LiteParsed::parse,
+ DocumentSourceChangeStream::createFromBson);
constexpr StringData DocumentSourceChangeStream::kDocumentKeyField;
constexpr StringData DocumentSourceChangeStream::kFullDocumentBeforeChangeField;