diff --git a/arangod/VocBase/document-collection.cpp b/arangod/VocBase/document-collection.cpp index 09c34f8d0a..0c7cb30b47 100644 --- a/arangod/VocBase/document-collection.cpp +++ b/arangod/VocBase/document-collection.cpp @@ -3240,10 +3240,7 @@ int TRI_document_collection_t::read(Transaction* trx, std::string const& key, mptr->setDataPtr(nullptr); // PROTECTED by trx in trxCollection VPackBuilder builder; - builder.openObject(); builder.add(TRI_VOC_ATTRIBUTE_KEY, VPackValue(key)); - builder.close(); - VPackSlice slice = builder.slice(); {