summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-10-05 09:55:35 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-10-05 09:58:18 +0200
commit5f59a0387a3c1beae866575aeef847e7650dd2d4 (patch)
tree5ddd31c0e90a437f9d47db7981244bd95ab8b9aa /document
parent3f7304f536eefdb5692aa3d78c6621ea7c33ae05 (diff)
Remove assert that is not valid. This might have been the case at some point in time, but no longer.
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/fieldvalue/structfieldvalue.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/document/src/vespa/document/fieldvalue/structfieldvalue.cpp b/document/src/vespa/document/fieldvalue/structfieldvalue.cpp
index 0a05ae60600..2526976f69d 100644
--- a/document/src/vespa/document/fieldvalue/structfieldvalue.cpp
+++ b/document/src/vespa/document/fieldvalue/structfieldvalue.cpp
@@ -252,9 +252,6 @@ StructFieldValue::setFieldValue(const Field& field, FieldValue::UP value)
{
int fieldId = field.getId();
std::unique_ptr<ByteBuffer> serialized(value->serialize());
- if (serialized->getLength() >= 0x4000000) { // Max 64 MB fields.
- throw SerializeException(make_string("Field value for field %i larger than 64 MB", fieldId), VESPA_STRLOC);
- }
serialized->flip();
if (_chunks.empty()) {
_chunks.push_back(SerializableArray::UP(new SerializableArray()));