• igor@olga.mysql.com's avatar
    Fixed bug #29911. · 07e0cd2f
    igor@olga.mysql.com authored
    This bug manifested itself for join queries with GROUP BY and HAVING clauses
    whose SELECT lists contained DISTINCT. It occurred when the optimizer could
    deduce that the result set would have not more than one row.
    The bug could lead to wrong result sets for queries of this type because
    HAVING conditions were erroneously ignored in some cases in the function
    remove_duplicates.   
    07e0cd2f
having.test 5.34 KB