Bug #99404 | AGG alias in ORDER BY works, but not if in an expression | ||
---|---|---|---|
Submitted: | 30 Apr 2020 7:11 | Modified: | 3 May 2020 10:19 |
Reporter: | bai Kevin | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 8.0.17 and before | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[30 Apr 2020 7:11]
bai Kevin
[30 Apr 2020 12:33]
MySQL Verification Team
Hi Mr. Kevin, Thank you for your bug report. However, this is not a bug, since I am not able to repeat it with the current 8.0 patch-fix release, which is 8.0.20: c2 avg ab 30.0000 abc 38.0000 abcd 89.0000 abcdef 91.5000 c2 avg ab 30.0000 abc 38.0000 abcd 89.0000 abcdef 91.5000 Results are exactly as they should be. Hence, all you have to do is upgrade to the latest 8.0 release. Not a bug.
[3 May 2020 10:19]
bai Kevin
Yes. There is no this bug after 8.0.18 because of new AggregateIterator. But before 8.0.18, there is this bug in every version before.
[4 May 2020 12:19]
MySQL Verification Team
Hi, 8.0.18, 8.0.17 etc, are not versions. These are patch fix releases. Version is 8.0. Hence, we fix bugs in 8.0 in a new bug-fix release, not in the old ones.