mirror of https://gitee.com/bigwinds/arangodb
minor fixes
This commit is contained in:
parent
23f0a9246f
commit
8d57a93ded
|
@ -125,7 +125,6 @@ static void IndexRep(v8::Isolate* isolate, std::string const& collectionName,
|
|||
std::string iid = TRI_ObjectToString(rep->Get(TRI_V8_ASCII_STRING("id")));
|
||||
std::string const id =
|
||||
collectionName + TRI_INDEX_HANDLE_SEPARATOR_STR + iid;
|
||||
LOG_TOPIC(ERR, Logger::FIXME) << "FINAL INDEX ID = " << id;
|
||||
rep->Set(TRI_V8_ASCII_STRING("id"), TRI_V8_STD_STRING(id));
|
||||
array->Set(i, rep);
|
||||
}
|
||||
|
|
|
@ -328,9 +328,7 @@ void arangodb::traverser::TraverserOptions::toVelocyPackIndexes(
|
|||
builder.add("base", VPackValue(VPackValueType::Array));
|
||||
for (auto const& it : _baseLookupInfos) {
|
||||
for (auto const& it2 : it.idxHandles) {
|
||||
builder.openObject();
|
||||
it2.getIndex()->toVelocyPack(builder, false);
|
||||
builder.close();
|
||||
}
|
||||
}
|
||||
builder.close();
|
||||
|
@ -342,9 +340,7 @@ void arangodb::traverser::TraverserOptions::toVelocyPackIndexes(
|
|||
builder.add(VPackValue(VPackValueType::Array));
|
||||
for (auto const& it2 : it.second) {
|
||||
for (auto const& it3 : it2.idxHandles) {
|
||||
builder.openObject();
|
||||
it3.getIndex()->toVelocyPack(builder, false);
|
||||
builder.close();
|
||||
}
|
||||
}
|
||||
builder.close();
|
||||
|
|
Loading…
Reference in New Issue