Bug #118123 | ORDER BY func(col_name) is bound to the wrong column | ||
---|---|---|---|
Submitted: | 7 May 8:37 | Modified: | 12 May 11:22 |
Reporter: | Jingqi Tian (OCA) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | OS: | Any | |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[7 May 8:37]
Jingqi Tian
[12 May 11:22]
MySQL Verification Team
Hi, This behavior is not a bug. The possible outcomes of this scenario is to either break and return error that there is ambiguity or to pick up one of the possible columns. We apologize MySQL picked one you did not expect. Kind regards.