1
0
Fork 0

Fixing index lookup

This commit is contained in:
Simon Grätzer 2017-04-18 23:15:01 +02:00
parent a90b68e6ef
commit c2bd35151a
1 changed files with 4 additions and 2 deletions

View File

@ -264,12 +264,14 @@ int RocksDBIndexFactory::enhanceIndexDefinition(VPackSlice const definition,
enhanced.add("objectId",
VPackValue(std::to_string(TRI_NewTickServer())));
}
} else {
}
// breaks lookupIndex()
/*else {
if (!definition.hasKey("objectId")) {
// objectId missing, but must be present
return TRI_ERROR_INTERNAL;
}
}
}*/
enhanced.add("type", VPackValue(Index::oldtypeName(type)));