summaryrefslogtreecommitdiff
path: root/src/mongo/s/write_ops/batched_update_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/write_ops/batched_update_request.h')
-rw-r--r--src/mongo/s/write_ops/batched_update_request.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/s/write_ops/batched_update_request.h b/src/mongo/s/write_ops/batched_update_request.h
index 2f7cfa3831b..dfdaccd5be3 100644
--- a/src/mongo/s/write_ops/batched_update_request.h
+++ b/src/mongo/s/write_ops/batched_update_request.h
@@ -82,6 +82,10 @@ namespace mongo {
const std::string& getCollName() const;
void setUpdates(const std::vector<BatchedUpdateDocument*>& updates);
+
+ /**
+ * updates ownership is transferred to here.
+ */
void addToUpdates(BatchedUpdateDocument* updates);
void unsetUpdates();
bool isUpdatesSet() const;