• Igor Babaev's avatar
    Fixed LP bug #791761. · 2e8542f4
    Igor Babaev authored
    An aggregating query over an empty set of a join of two tables
    with a rejecting HAVING clause erroneously could return a row.
    It could happen in the cases when the optimizer made a conclusion
    that the aggregating set was empty.
    Wrong results were produced because the server missed initial
    setting for aggregation functions in the mentioned cases.
          
    2e8542f4
having.test 17.9 KB