summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_graph_lookup.h
diff options
context:
space:
mode:
authorMihai Andrei <mihai.andrei@10gen.com>2022-05-13 16:06:26 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-13 16:47:23 +0000
commitd3d37be21fdac8e773c30db8ba542bbf7d9f5f4f (patch)
treedb1df683e19caa1838e01f6ffb285418592fe8e6 /src/mongo/db/pipeline/document_source_graph_lookup.h
parent1d4d6b6f83b4c4e1a96802fffe89b9399f89e3b3 (diff)
downloadmongo-d3d37be21fdac8e773c30db8ba542bbf7d9f5f4f.tar.gz
SERVER-66354 Additional $search metadata pipeline should use separate ExpressionContext
Diffstat (limited to 'src/mongo/db/pipeline/document_source_graph_lookup.h')
-rw-r--r--src/mongo/db/pipeline/document_source_graph_lookup.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_graph_lookup.h b/src/mongo/db/pipeline/document_source_graph_lookup.h
index 30e63b5d64f..bc0146f1829 100644
--- a/src/mongo/db/pipeline/document_source_graph_lookup.h
+++ b/src/mongo/db/pipeline/document_source_graph_lookup.h
@@ -66,7 +66,8 @@ public:
}
};
- DocumentSourceGraphLookUp(const DocumentSourceGraphLookUp&);
+ DocumentSourceGraphLookUp(const DocumentSourceGraphLookUp&,
+ const boost::intrusive_ptr<ExpressionContext>&);
const char* getSourceName() const final;
@@ -155,7 +156,8 @@ public:
static boost::intrusive_ptr<DocumentSource> createFromBson(
BSONElement elem, const boost::intrusive_ptr<ExpressionContext>& pExpCtx);
- boost::intrusive_ptr<DocumentSource> clone() const final;
+ boost::intrusive_ptr<DocumentSource> clone(
+ const boost::intrusive_ptr<ExpressionContext>& newExpCtx) const final;
protected:
GetNextResult doGetNext() final;