Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Normal
Description
In SecondaryIndexManager::getBestIndexFor, the calculation to choose the most selective from a set of candidate indexes is incorrect. It currently chooses the index which returns the highest value from Index::getEstimatedResultRows. Obviously it should return the one with the fewest estimated results.