summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_lookup.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_lookup.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_lookup.h')
-rw-r--r--src/mongo/db/pipeline/document_source_lookup.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_lookup.h b/src/mongo/db/pipeline/document_source_lookup.h
index 7138db9748f..4917ea49191 100644
--- a/src/mongo/db/pipeline/document_source_lookup.h
+++ b/src/mongo/db/pipeline/document_source_lookup.h
@@ -64,8 +64,11 @@ public:
static std::unique_ptr<LiteParsed> parse(const NamespaceString& nss,
const BSONElement& spec);
- LiteParsed(NamespaceString foreignNss, boost::optional<LiteParsedPipeline> pipeline)
- : LiteParsedDocumentSourceNestedPipelines(std::move(foreignNss), std::move(pipeline)) {}
+ LiteParsed(std::string parseTimeName,
+ NamespaceString foreignNss,
+ boost::optional<LiteParsedPipeline> pipeline)
+ : LiteParsedDocumentSourceNestedPipelines(
+ std::move(parseTimeName), std::move(foreignNss), std::move(pipeline)) {}
/**
* Lookup from a sharded collection may not be allowed.