summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/pipeline.h
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2020-01-14 12:37:09 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-26 00:41:40 +0000
commit27363455aaba930778a5feff02b0b320d4b850af (patch)
tree7436cbb7be03dc9c98d68349c44977b4a71f066f /src/mongo/db/pipeline/pipeline.h
parent183e8c5c04d77ea840468ba8723970fa67258376 (diff)
downloadmongo-27363455aaba930778a5feff02b0b320d4b850af.tar.gz
SERVER-45538 Add shard version retry logic for $unionWith sub-pipeline
Diffstat (limited to 'src/mongo/db/pipeline/pipeline.h')
-rw-r--r--src/mongo/db/pipeline/pipeline.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/pipeline.h b/src/mongo/db/pipeline/pipeline.h
index 5eb096fc7e2..93bcf7a4bbe 100644
--- a/src/mongo/db/pipeline/pipeline.h
+++ b/src/mongo/db/pipeline/pipeline.h
@@ -146,6 +146,8 @@ public:
const boost::intrusive_ptr<ExpressionContext>& expCtx,
const MakePipelineOptions opts = MakePipelineOptions{});
+ std::unique_ptr<Pipeline, PipelineDeleter> clone() const;
+
const boost::intrusive_ptr<ExpressionContext>& getContext() const {
return pCtx;
}