• igor@olga.mysql.com's avatar
    Fixed bug #26963: invalid optimization of the pushdown conditions · e7284ace
    igor@olga.mysql.com authored
    after single-row table substitution could lead to a wrong result set.
    The bug happened because the function Item_field::replace_equal_field
    erroniously assumed that any field included in a multiple equality
    with a constant has been already substituted for this constant.
    This not true for fields becoming constant after row substitutions
    for constant tables.
     
    e7284ace
select.test 163 KB