• Igor Babaev's avatar
    Fixed bugs mdev-5927 and mdev-6116. · 13dc299a
    Igor Babaev authored
    Both bugs are caused by the same problem: the function optimize_cond() should
    update the value of *cond_equal rather than the value of join->cond_equal,
    because it is called not only for the WHERE condition, but for the HAVING
    condition as well.
    13dc299a
having.result 19.7 KB