[MDEV-768] LP:844997 - Wrong query result with SELECT const_table_column, aggregate_func, implict grouping and empty resultset Created: 2011-09-08 Updated: 2022-11-29 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.1.67, 5.2.14, 5.3.12, 5.5.36, 10.0.9, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9 |
| Fix Version/s: | 5.5, 10.3 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | 11.0-sel, Launchpad, upstream | ||
| Attachments: |
|
| Description |
|
Consider the below: it shows how changing const table to non-const will change the resultset. This is a bug.
The bug can be repeated on current mysql-5.1 |
| Comments |
| Comment by Sergei Petrunia [ 2011-09-08 ] |
|
Re: Wrong query result with SELECT const_table_column, aggregate_func, implict grouping and empty resultset |
| Comment by Rasmus Johansson (Inactive) [ 2012-03-22 ] |
|
Launchpad bug id: 844997 |
| Comment by Elena Stepanova [ 2014-03-26 ] |
|
Reproducible on MySQL 5.1-5.7. |