Bug #8616 | distinct with group by, suppresses rollup (and/or parts of result) | ||
---|---|---|---|
Submitted: | 19 Feb 2005 1:56 | Modified: | 21 Mar 2005 20:04 |
Reporter: | Martin Friebe (Gold Quality Contributor) (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.10 | OS: | |
Assigned to: | Igor Babaev | CPU Architecture: | Any |
[19 Feb 2005 1:56]
Martin Friebe
[16 Mar 2005 6:51]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/23072
[20 Mar 2005 8:01]
Igor Babaev
This fix is very important for the full fix of the case reported in bug #6215 The fix for this bug will appear in 4.1.11 and in 5.0.3. The fix was merged from 4.1 into 5.0 ChangeSet 1.2121 05/03/15 22:50:54 igor@rurik.mysql.com +5 -0 olap.result, olap.test: Added a test case for bug #8616. item.h: Fixed bug #8616. Added class Item_null_result used in rollup processing. sql_select.h, sql_select.cc: Fixed bug #8616. Added JOIN::rollup_write_data to cover rollup queries with DISTINCT. Modified other rollup methods.
[21 Mar 2005 20:04]
Paul DuBois
Noted in 4.1.11, 5.0.4 changelogs.