diff options
author | Mihai Andrei <mihai.andrei@10gen.com> | 2022-05-13 16:06:26 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-13 16:47:23 +0000 |
commit | d3d37be21fdac8e773c30db8ba542bbf7d9f5f4f (patch) | |
tree | db1df683e19caa1838e01f6ffb285418592fe8e6 /src/mongo/db/pipeline/document_source_graph_lookup.h | |
parent | 1d4d6b6f83b4c4e1a96802fffe89b9399f89e3b3 (diff) | |
download | mongo-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.h | 6 |
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; |