• Sergei Petrunia's avatar
    MDEV-10683: main.order_by_optimizer_innodb fails in buildbot · 422774b4
    Sergei Petrunia authored
    Fix order_by_optimizer_innodb and order_by_innodb tests.
    
    The problem was that the query could be ran before InnoDB was
    ready to provide a realistic statistic for #records in the table.
    
    It provided a number that was too low, which caused the optimizer
    to decide that range access plan wasn't advantageous and discard it.
    422774b4
order_by_optimizer_innodb.result 3.18 KB