• Monty's avatar
    Fixed randomly failing test main.order_by_optimizer_innodb · 424a7a26
    Monty authored
    The problem was that sometimes InnoDB returned sligtly wrong record count
    for table, which causes the optimizer to disregard the result from
    the range optimizer. The end result was that the optimizer choosed a
    ref access instead of a range access which caused errors in buildbot.
    
    Fixed by adding more rows to the table to ensure that table scan is
    more costly than range scan of the given interval.
    424a7a26
order_by_optimizer_innodb.test 2.51 KB