diff options
Diffstat (limited to 'src/mongo/db/pipeline/document_source_list_catalog.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_list_catalog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_list_catalog.cpp b/src/mongo/db/pipeline/document_source_list_catalog.cpp index 8c536e39c01..9e8ce37e515 100644 --- a/src/mongo/db/pipeline/document_source_list_catalog.cpp +++ b/src/mongo/db/pipeline/document_source_list_catalog.cpp @@ -118,8 +118,10 @@ intrusive_ptr<DocumentSource> DocumentSourceListCatalog::createFromBson( return new DocumentSourceListCatalog(pExpCtx); } -Value DocumentSourceListCatalog::serialize( - boost::optional<ExplainOptions::Verbosity> explain) const { +Value DocumentSourceListCatalog::serialize(SerializationOptions opts) const { + if (opts.redactFieldNames || opts.replacementForLiteralArgs) { + MONGO_UNIMPLEMENTED_TASSERT(7484329); + } return Value(DOC(getSourceName() << Document())); } } // namespace mongo |