1
0
Fork 0

fixed test

This commit is contained in:
jsteemann 2017-01-26 13:15:52 +01:00
parent 20a2fd308b
commit b7aa2abdce
1 changed files with 1 additions and 0 deletions

View File

@ -2555,6 +2555,7 @@ int LogicalCollection::remove(arangodb::Transaction* trx,
uint8_t const* vpack = previous.vpack();
VPackSlice oldDoc(vpack);
TRI_voc_rid_t oldRevisionId = Transaction::extractRevFromDocument(oldDoc);
prevRev = oldRevisionId;
// Check old revision:
if (!options.ignoreRevs && slice.isObject()) {