| Bug #27347 | Sorting by an aliased quoted column does not sory correctly | ||
|---|---|---|---|
| Submitted: | 21 Mar 2007 17:24 | Modified: | 21 Mar 2007 19:07 |
| Reporter: | Scott Nebor | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
| Version: | 5.0.33/5.0.37 | OS: | Linux (Redhat 9) |
| Assigned to: | CPU Architecture: | Any | |
[21 Mar 2007 17:24]
Scott Nebor
[21 Mar 2007 19:07]
Valeriy Kravchuk
Thank you for a problem report. Sorry, but this is not a bug. You should use either `` (MySQL native way) or "" (ANSI SQL way) to quote any identifiers, incuding aliases. You had used '' and, thus, ordered by some string literal. That is why you may got any order, including original insertion order, as in 5.0.37.
