diff options
author | Andrew Morrow <acm@10gen.com> | 2013-07-26 12:55:27 -0400 |
---|---|---|
committer | Andrew Morrow <acm@10gen.com> | 2013-07-26 15:37:26 -0400 |
commit | a856222627ce97d1ace25a14d6f2b69e8471a1e6 (patch) | |
tree | 7094a6cd600b837b56040d5020c0dfa87958b8c1 /src/mongo/db/ops/modifier_unset.cpp | |
parent | 5bf58caa4bd08ebc6291174fda8fa9e886c9539d (diff) | |
download | mongo-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.cpp | 2 |
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; } |