summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/update.cpp
diff options
context:
space:
mode:
authorNathan Myers <nathan.myers@10gen.com>2017-05-25 18:00:24 -0400
committerNathan Myers <nathan.myers@10gen.com>2017-06-01 17:12:20 -0400
commit6bf062db95d69f06b02da708b54f5e3efbb9dfa5 (patch)
tree6b3d37fd60fbd601351928289898461a592db5d9 /src/mongo/db/exec/update.cpp
parent12ac469b6d79dc2169fd45ab2befff62295b87c8 (diff)
downloadmongo-6bf062db95d69f06b02da708b54f5e3efbb9dfa5.tar.gz
SERVER-29342 CollectionShardState/RangeDeleter support for safe secondary reads
Diffstat (limited to 'src/mongo/db/exec/update.cpp')
-rw-r--r--src/mongo/db/exec/update.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/exec/update.cpp b/src/mongo/db/exec/update.cpp
index 9bcc5460290..90cd46ab423 100644
--- a/src/mongo/db/exec/update.cpp
+++ b/src/mongo/db/exec/update.cpp
@@ -254,12 +254,6 @@ StatusWith<std::uint32_t> storageValid(const mb::ConstElement& elem,
Status status = validateDollarPrefixElement(elem, deep);
if (!status.isOK())
return status;
- } else if (fieldName.find(".") != string::npos) {
- // Field name cannot have a "." in it.
- return Status(ErrorCodes::DottedFieldName,
- str::stream() << "The dotted field '" << elem.getFieldName() << "' in '"
- << mb::getFullName(elem)
- << "' is not valid for storage.");
}
}