1
0
Fork 0

fixed picking of wrong indexes if multiple indexes are available

This commit is contained in:
Jan Steemann 2012-05-19 20:33:28 +02:00
parent 4d8e005241
commit a108d9a38f
1 changed files with 7 additions and 0 deletions

View File

@ -270,6 +270,13 @@ TRI_aql_index_t* TRI_DetermineIndexAql (TRI_aql_context_t* const context,
TRI_PushBackVectorPointer(&matches, candidate);
}
}
// finished iterating over all candidates
if (matches._length != j + 1) {
// we already have picked less candidate fields than we should
break;
}
}
if (matches._length < 1) {