summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/modifier_unset.h
diff options
context:
space:
mode:
authorAndrew Morrow <acm@10gen.com>2013-12-30 14:14:14 -0500
committerAndrew Morrow <acm@10gen.com>2014-01-06 20:15:21 -0500
commit8b57f45b149b9df8ed2e9d7f74bf5d33a650cd5c (patch)
treeb4af3480319251653cd10d8a56b3476a9fa661ae /src/mongo/db/ops/modifier_unset.h
parentf4c05fbb804842a449e8131784069c2757ab2b23 (diff)
downloadmongo-8b57f45b149b9df8ed2e9d7f74bf5d33a650cd5c.tar.gz
SERVER-10159 Only do rematch for positional data when necessary
Diffstat (limited to 'src/mongo/db/ops/modifier_unset.h')
-rw-r--r--src/mongo/db/ops/modifier_unset.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/ops/modifier_unset.h b/src/mongo/db/ops/modifier_unset.h
index 0799e9b3690..3e4a5fc2b22 100644
--- a/src/mongo/db/ops/modifier_unset.h
+++ b/src/mongo/db/ops/modifier_unset.h
@@ -60,7 +60,8 @@ namespace mongo {
* assigned to it from 'modExpr'. It returns OK if successful or a status describing
* the error.
*/
- virtual Status init(const BSONElement& modExpr, const Options& opts);
+ virtual Status init(const BSONElement& modExpr, const Options& opts,
+ bool* positional = NULL);
/**
* Locates the field to be removed under the 'root' element, if it exist, and fills in