[MDEV-4030] sort "order by" is not working Created: 2013-01-14 Updated: 2014-06-20 Resolved: 2013-01-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.28a-galera |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Zhou Chao | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
ubuntu 12.04LTS |
||
| Description |
|
my web application will generate a sql: offical mysql or percona return orderd result it seems like subquery optimizations problem if you think it is not a bug, please tell me how to disable this "feature", I really dont need this |
| Comments |
| Comment by Zhou Chao [ 2013-01-14 ] |
|
I find link https://kb.askmonty.org/en/why-is-order-by-in-a-from-subquery-ignored/ it is not a bug, according to the SQL standard two choices: 1 can I set optimizer_switch to disable this |
| Comment by Sergei Golubchik [ 2013-01-14 ] |
|
there is no optimizer_switch that tells the server to respect ORDER BY in subqueries. |