mirror of https://gitee.com/bigwinds/arangodb
Fix new call to lookupDocument.
This commit is contained in:
parent
94e5014293
commit
e4cda0d33f
|
@ -3240,10 +3240,7 @@ int TRI_document_collection_t::read(Transaction* trx, std::string const& key,
|
||||||
mptr->setDataPtr(nullptr); // PROTECTED by trx in trxCollection
|
mptr->setDataPtr(nullptr); // PROTECTED by trx in trxCollection
|
||||||
|
|
||||||
VPackBuilder builder;
|
VPackBuilder builder;
|
||||||
builder.openObject();
|
|
||||||
builder.add(TRI_VOC_ATTRIBUTE_KEY, VPackValue(key));
|
builder.add(TRI_VOC_ATTRIBUTE_KEY, VPackValue(key));
|
||||||
builder.close();
|
|
||||||
|
|
||||||
VPackSlice slice = builder.slice();
|
VPackSlice slice = builder.slice();
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue