1
0
Fork 0

compilation fix (#9340)

This commit is contained in:
Kaveh Vahedipour 2019-06-26 17:00:33 +02:00 committed by Jan
parent 18fa84d619
commit 2fb159a8e2
1 changed files with 2 additions and 2 deletions

View File

@ -2982,8 +2982,8 @@ Result ClusterInfo::ensureIndexCoordinatorInner( // create index
// which does not do any harm:
auto coll = getCollection(databaseName, collectionID);
if (coll == nullptr) {
errorMsg = "The collection has gone. Aborting index creation";
return TRI_ERROR_ARANGO_INDEX_CREATION_FAILED;
return Result(TRI_ERROR_ARANGO_INDEX_CREATION_FAILED,
"The collection has gone. Aborting index creation");
}
auto indexes = coll->getIndexes();