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
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.