• Sergei Petrunia's avatar
    MDEV-25858: Query results are incorrect when indexes are added · 6a89f346
    Sergei Petrunia authored
    If test_if_skip_sort_order() decides to use an index to produce required
    ordering,  it should disable "Range Checked for each record" optimization.
    
    This is because Range-Checked-for-each-record may decide to use an index
    (or an index_merge) which will not produce the required ordering.
    6a89f346
order_by_innodb.test 4.75 KB