Bug #77874 | ORDER BY MAX() Returns a row with empty value when no rows exist | ||
---|---|---|---|
Submitted: | 29 Jul 2015 15:41 | Modified: | 6 Mar 2018 17:13 |
Reporter: | Ian O'Shaughnessy | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 5.5.28-0 | OS: | Ubuntu (Ubuntu 0.12.04.2) |
Assigned to: | CPU Architecture: | Any |
[29 Jul 2015 15:41]
Ian O'Shaughnessy
[6 Mar 2018 17:13]
MySQL Verification Team
Hi! This is an old bug in the version 5.5. Both, latest 5.6 and latest 5.7 return the following error on your query: RROR 3029 (HY000): Expression #1 of ORDER BY contains aggregate function and applies to the result of a non-aggregated query Version 5.5 will not be fixed, because its maintenance mode is such that it only receives fixes for the crashing or security bugs. Not a bug.