• Ramil Kalimullin's avatar
    Fix for bug #42957: no results from · 0a050535
    Ramil Kalimullin authored
    select where .. (col=col and col=col) or ... (false expression)
    
    Problem: optimizer didn't take into account a singular case 
    when we eliminated all the predicates at the AND level of WHERE.
    That may lead to wrong results.
    
    Fix: replace (a=a AND a=a...) with TRUE if we eliminated all the
    predicates.
    0a050535
select.test 175 KB