From 4976eb401b3f16482fb35287ea60d7e8b33fe76d Mon Sep 17 00:00:00 2001 From: David Storch Date: Mon, 3 Oct 2016 11:48:27 -0400 Subject: SERVER-19153 push $match as far forward as possible --- src/mongo/db/pipeline/parsed_add_fields.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mongo/db/pipeline/parsed_add_fields.h') diff --git a/src/mongo/db/pipeline/parsed_add_fields.h b/src/mongo/db/pipeline/parsed_add_fields.h index 240b17faead..58b8445e727 100644 --- a/src/mongo/db/pipeline/parsed_add_fields.h +++ b/src/mongo/db/pipeline/parsed_add_fields.h @@ -96,6 +96,11 @@ public: return DocumentSource::SEE_NEXT; } + DocumentSource::GetModPathsReturn getModifiedPaths() const final { + // TODO SERVER-25510 Only report added paths as modified. + return {DocumentSource::GetModPathsReturn::Type::kAllPaths, std::set{}}; + } + /** * Add the specified fields to 'inputDoc'. * -- cgit v1.2.1