• Sergei Petrunia's avatar
    MDEV-32901: innodb.mdev-14846 fails in 11.0 · bd23b3dc
    Sergei Petrunia authored
    InnoDB could return off-by-1 estimates for the involved tables.
    This would cause off-by-many difference in join output cardinality
    for the top-level SELECT, and so different query plan for the subquery.
    
    The fix: Introduce mysql-test/include/innodb_stable_estimates.{inc,opt}
    which disables InnoDB's background statistics collection, and use it.
    bd23b3dc
innodb_stable_estimates.inc 531 Bytes