summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/modifier_pop.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_pop.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_pop.h')
-rw-r--r--src/mongo/db/ops/modifier_pop.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/ops/modifier_pop.h b/src/mongo/db/ops/modifier_pop.h
index 854f11466f4..00b8991dbbf 100644
--- a/src/mongo/db/ops/modifier_pop.h
+++ b/src/mongo/db/ops/modifier_pop.h
@@ -57,7 +57,8 @@ namespace mongo {
*
* Ex. $pop: {'a':1} will remove the last item from this array: [1,2,3] -> [1,2]
*/
- virtual Status init(const BSONElement& modExpr, const Options& opts);
+ virtual Status init(const BSONElement& modExpr, const Options& opts,
+ bool* positional = NULL);
virtual Status prepare(mutablebson::Element root,
const StringData& matchedField,