Bug #19049 | WITH ROLLUP Columns not included directly in SELECT mangled by DISTINCT | ||
---|---|---|---|
Submitted: | 12 Apr 2006 12:27 | Modified: | 27 Sep 2006 19:39 |
Reporter: | Giles McArdell | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S2 (Serious) |
Version: | 5.0.19 | OS: | Linux (SUSE 10) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[12 Apr 2006 12:27]
Giles McArdell
[12 Apr 2006 22:26]
Hartmut Holzgraefe
The exlusion of rows is due to DISTINCT triggering a different error which itself seems to replace NULL values for ROLLUP columns with their value from the preceeding row, i am uploading a simplified test case that will show the actual wrong behavior triggered by DISTINCT in combination with ROLLUP
[12 Apr 2006 22:33]
Hartmut Holzgraefe
mysqltest test case
Attachment: bug19049.tar.gz (application/x-gunzip, text), 982 bytes.
[12 Apr 2006 23:05]
Hartmut Holzgraefe
see also bug #19042
[27 Sep 2006 19:39]
Evgeny Potemkin
Duplicate of the bug#19042