• Igor Babaev's avatar
    Fixed bug mdev-6705. · 1e1a8a7f
    Igor Babaev authored
    After constant row substitution the WHERE condition may be simplified and its multiple equality
    may be changed. In this case the references to these multiple equalities from the COND_EQUAL
    objects associated with ON expressions must be updated.
    Also we have to take into account that this simplification may lead to equalities of the form
    field=const that are mutually exclusive with some of the equalities in ON expressions. 
    1e1a8a7f
sql_select.cc 746 KB