mirror of https://gitee.com/bigwinds/arangodb
Fixing index lookup
This commit is contained in:
parent
a90b68e6ef
commit
c2bd35151a
|
@ -264,12 +264,14 @@ int RocksDBIndexFactory::enhanceIndexDefinition(VPackSlice const definition,
|
||||||
enhanced.add("objectId",
|
enhanced.add("objectId",
|
||||||
VPackValue(std::to_string(TRI_NewTickServer())));
|
VPackValue(std::to_string(TRI_NewTickServer())));
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
// breaks lookupIndex()
|
||||||
|
/*else {
|
||||||
if (!definition.hasKey("objectId")) {
|
if (!definition.hasKey("objectId")) {
|
||||||
// objectId missing, but must be present
|
// objectId missing, but must be present
|
||||||
return TRI_ERROR_INTERNAL;
|
return TRI_ERROR_INTERNAL;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
enhanced.add("type", VPackValue(Index::oldtypeName(type)));
|
enhanced.add("type", VPackValue(Index::oldtypeName(type)));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue