From e4cda0d33f7e98bcb85a35cb60030b54ea478ed0 Mon Sep 17 00:00:00 2001 From: Max Neunhoeffer Date: Tue, 8 Mar 2016 21:41:06 +0100 Subject: [PATCH] Fix new call to lookupDocument. --- arangod/VocBase/document-collection.cpp | 3 --- 1 file changed, 3 deletions(-) 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(); {