1
0
Fork 0

minor fixes

This commit is contained in:
Jan Christoph Uhde 2017-04-13 11:08:01 +02:00
parent 23f0a9246f
commit 8d57a93ded
2 changed files with 0 additions and 5 deletions

View File

@ -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);
}

View File

@ -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();