summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_sample.h
diff options
context:
space:
mode:
authorNicholas Zolnierz <nicholas.zolnierz@mongodb.com>2022-05-31 09:24:58 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-08-18 20:37:08 +0000
commit39a79c12b930b7adc5fe2872e482f9e483121dcf (patch)
treef5ca4862c6d23bbfd62cb119b780dffa31bb86a9 /src/mongo/db/pipeline/document_source_sample.h
parent65002ae2d4bacf9413383faa4b38d3480a2a8328 (diff)
downloadmongo-39a79c12b930b7adc5fe2872e482f9e483121dcf.tar.gz
SERVER-63845 Separate variable reference tracking from pipeline field dependency analysis
Diffstat (limited to 'src/mongo/db/pipeline/document_source_sample.h')
-rw-r--r--src/mongo/db/pipeline/document_source_sample.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_sample.h b/src/mongo/db/pipeline/document_source_sample.h
index 7dd31db3c41..418242014ef 100644
--- a/src/mongo/db/pipeline/document_source_sample.h
+++ b/src/mongo/db/pipeline/document_source_sample.h
@@ -65,6 +65,8 @@ public:
return _size;
}
+ void addVariableRefs(std::set<Variables::Id>* refs) const final {}
+
static boost::intrusive_ptr<DocumentSource> createFromBson(
BSONElement elem, const boost::intrusive_ptr<ExpressionContext>& expCtx);