From b9b27b257907b3efc1fb5e88d8f595da593fca54 Mon Sep 17 00:00:00 2001 From: Max Neunhoeffer Date: Tue, 8 Mar 2016 21:42:49 +0100 Subject: [PATCH] Finish for good call to lookupDocument. --- arangod/VocBase/document-collection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arangod/VocBase/document-collection.cpp b/arangod/VocBase/document-collection.cpp index 0c7cb30b47..830b27c72b 100644 --- a/arangod/VocBase/document-collection.cpp +++ b/arangod/VocBase/document-collection.cpp @@ -3240,7 +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.add(TRI_VOC_ATTRIBUTE_KEY, VPackValue(key)); + builder.add(VPackValue(key)); VPackSlice slice = builder.slice(); {