• igor@rurik.mysql.com's avatar
    Fixed bug #19579: at range analysis optimizer did not take into · c467be8d
    igor@rurik.mysql.com authored
    account predicates that become sargable after reading const tables.
    In some cases this resulted in choosing non-optimal execution plans.
    Now info of such potentially saragable predicates is saved in
    an array and after reading const tables we check whether this
    predicates has become saragable.
    c467be8d
select.test 154 KB