1
0
Fork 0

Merge branch 'generic-col-types' of https://github.com/arangodb/arangodb into generic-col-types

This commit is contained in:
jsteemann 2016-09-01 16:53:25 +02:00
commit ade4f13d02
1 changed files with 1 additions and 1 deletions

View File

@ -1071,7 +1071,6 @@ std::shared_ptr<Index> LogicalCollection::lookupIndex(VPackSlice const& info) co
std::shared_ptr<Index> LogicalCollection::createIndex(Transaction* trx,
VPackSlice const& info,
bool& created) {
// TODO Coordinator case!
// TODO Get LOCK for the vocbase
auto idx = lookupIndex(info);
@ -1092,6 +1091,7 @@ std::shared_ptr<Index> LogicalCollection::createIndex(Transaction* trx,
// In the coordinator case we do not fill the index
// We only inform the others.
addIndexCoordinator(idx, true);
created = true;
return idx;
}