• igor@olga.mysql.com's avatar
    Fixed bug#35844. · b210e5df
    igor@olga.mysql.com authored
    The function test_if_skip_sort_order ignored any covering index used for ref
    access of a table in a query with ORDER BY if this index was incompatible 
    with the ORDER BY list and there was another covering index compatible with
    this list. 
    As a result sub-optimal execution plans were chosen for some queries with
    ORDER BY clause. 
    b210e5df
order_by.test 62.6 KB