summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/modifier_unset.cpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@10gen.com>2013-07-26 12:55:27 -0400
committerAndrew Morrow <acm@10gen.com>2013-07-26 15:37:26 -0400
commita856222627ce97d1ace25a14d6f2b69e8471a1e6 (patch)
tree7094a6cd600b837b56040d5020c0dfa87958b8c1 /src/mongo/db/ops/modifier_unset.cpp
parent5bf58caa4bd08ebc6291174fda8fa9e886c9539d (diff)
downloadmongo-a856222627ce97d1ace25a14d6f2b69e8471a1e6.tar.gz
SERVER-10296 Allow $unset and $rename to act on invalid names
Diffstat (limited to 'src/mongo/db/ops/modifier_unset.cpp')
-rw-r--r--src/mongo/db/ops/modifier_unset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/modifier_unset.cpp b/src/mongo/db/ops/modifier_unset.cpp
index 23feeaa60b6..e8e76671c03 100644
--- a/src/mongo/db/ops/modifier_unset.cpp
+++ b/src/mongo/db/ops/modifier_unset.cpp
@@ -69,7 +69,7 @@ namespace mongo {
// Break down the field name into its 'dotted' components (aka parts) and check that
// there are no empty parts.
_fieldRef.parse(modExpr.fieldName());
- Status status = fieldchecker::isUpdatable(_fieldRef);
+ Status status = fieldchecker::isUpdatableLegacy(_fieldRef);
if (! status.isOK()) {
return status;
}