diff options
author | Davis Haupt <davis.haupt@mongodb.com> | 2023-03-23 19:05:10 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-03-23 20:07:51 +0000 |
commit | 534f75b45fbd00b532092ec8bf01523aaf89f4d1 (patch) | |
tree | bc58e14b75007ebb414b84697aa06fbbe52cde56 /src/mongo/db/pipeline/document_source_redact.cpp | |
parent | 975fdf1f9dc43edae9f84229e5dcec70cec01f4c (diff) | |
download | mongo-534f75b45fbd00b532092ec8bf01523aaf89f4d1.tar.gz |
SERVER-75137 Remove unimplemented tasserts from serialization functions with no literals to redact
Diffstat (limited to 'src/mongo/db/pipeline/document_source_redact.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_redact.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/pipeline/document_source_redact.cpp b/src/mongo/db/pipeline/document_source_redact.cpp index da0aecee671..1ae49573726 100644 --- a/src/mongo/db/pipeline/document_source_redact.cpp +++ b/src/mongo/db/pipeline/document_source_redact.cpp @@ -170,9 +170,6 @@ intrusive_ptr<DocumentSource> DocumentSourceRedact::optimize() { } Value DocumentSourceRedact::serialize(SerializationOptions opts) const { - if (opts.redactFieldNames || opts.replacementForLiteralArgs) { - MONGO_UNIMPLEMENTED_TASSERT(7484318); - } return Value(DOC(getSourceName() << _expression.get()->serialize(opts))); } |