Bug #53144 | GROUP BY with ROLLUP includes previous data in rollup | ||
---|---|---|---|
Submitted: | 25 Apr 2010 17:09 | Modified: | 25 Apr 2010 17:29 |
Reporter: | John Larsen | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
Version: | 5.0.88 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[25 Apr 2010 17:09]
John Larsen
[25 Apr 2010 17:29]
Valeriy Kravchuk
This result is easily repeatable. But as you do NOT use Text column in the GROUP BY clause while different rows in the group has different values in this column, MySQL is free to return any one of them, like last one in your case. Read http://dev.mysql.com/doc/refman/5.0/en/group-by-hidden-columns.html. I think this is not a bug.