summaryrefslogtreecommitdiff
path: root/src/mongo/s/write_ops/batched_update_request.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2015-10-12 14:17:46 -0400
committerMathias Stearn <mathias@10gen.com>2015-10-15 13:10:09 -0400
commit6da52f24a72571fb880643fffd62248e77fe389a (patch)
tree7e7898f12bcfa51a3c74ace1d96906de2f3a4a6f /src/mongo/s/write_ops/batched_update_request.cpp
parentd6dc59681a95aeba31ff4dd2003f99b578eeae00 (diff)
downloadmongo-6da52f24a72571fb880643fffd62248e77fe389a.tar.gz
SERVER-20859 Propagate bypassDocumentValidation in cloneTo methods
Diffstat (limited to 'src/mongo/s/write_ops/batched_update_request.cpp')
-rw-r--r--src/mongo/s/write_ops/batched_update_request.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/write_ops/batched_update_request.cpp b/src/mongo/s/write_ops/batched_update_request.cpp
index a337e2eb0c5..bcac26798b1 100644
--- a/src/mongo/s/write_ops/batched_update_request.cpp
+++ b/src/mongo/s/write_ops/batched_update_request.cpp
@@ -180,6 +180,8 @@ void BatchedUpdateRequest::cloneTo(BatchedUpdateRequest* other) const {
other->_ordered = _ordered;
other->_isOrderedSet = _isOrderedSet;
+
+ other->_shouldBypassValidation = _shouldBypassValidation;
}
std::string BatchedUpdateRequest::toString() const {