summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_facet.h
diff options
context:
space:
mode:
authorMihai Andrei <mihai.andrei@mongodb.com>2020-01-29 15:13:38 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-19 22:44:37 +0000
commitc54a777a4a154984f5595b11993d7d009350a38c (patch)
treeb709682805f4ebc99aab698beeeefc83427668d9 /src/mongo/db/pipeline/document_source_facet.h
parentd8810b45d790ebce228ff484dfc27494aadd2c6b (diff)
downloadmongo-c54a777a4a154984f5595b11993d7d009350a38c.tar.gz
SERVER-44689 Add serverStatus counter for each use of an aggregation stage in a user's request
Diffstat (limited to 'src/mongo/db/pipeline/document_source_facet.h')
-rw-r--r--src/mongo/db/pipeline/document_source_facet.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_facet.h b/src/mongo/db/pipeline/document_source_facet.h
index b83d34597eb..a78a89dab81 100644
--- a/src/mongo/db/pipeline/document_source_facet.h
+++ b/src/mongo/db/pipeline/document_source_facet.h
@@ -72,8 +72,9 @@ public:
static std::unique_ptr<LiteParsed> parse(const NamespaceString& nss,
const BSONElement& spec);
- LiteParsed(std::vector<LiteParsedPipeline> pipelines)
- : LiteParsedDocumentSourceNestedPipelines(boost::none, std::move(pipelines)) {}
+ LiteParsed(std::string parseTimeName, std::vector<LiteParsedPipeline> pipelines)
+ : LiteParsedDocumentSourceNestedPipelines(
+ std::move(parseTimeName), boost::none, std::move(pipelines)) {}
PrivilegeVector requiredPrivileges(bool isMongos,
bool bypassDocumentValidation) const override final {