[MDEV-17807] Incorrect usage of CUBE/ROLLUP and ORDER BY for a basic query Created: 2018-11-22 Updated: 2023-11-30 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
I am not sure if this a bug or an intended limitation.
Gives this error:
|
| Comments |
| Comment by Sergei Petrunia [ 2018-11-22 ] |
|
This works with MySQL 8.0.12. If I add a LIMIT clause, it still works. |
| Comment by Elena Stepanova [ 2018-11-22 ] |
|
It was the documented behavior in MySQL before 8.0(.12).
|
| Comment by Elena Stepanova [ 2018-11-28 ] |
|
psergey, do you want to have it documented as a limitation, or converted to a feature request? |