~maria-captains/maria/5.3

Viewing all changes in revision 3127.

  • Committer: Igor Babaev
  • Date: 2011-07-21 04:55:55 UTC
  • Revision ID: igor@askmonty.org-20110721045555-aj4uawdh2k56wguc
Fixed LP bug #791761.
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.
      

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: