[MDEV-28942] Online alter does not support ORDER BY Created: 2022-06-24 Updated: 2023-04-02 Resolved: 2022-06-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table |
| Affects Version/s: | N/A |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
If it's expected, it needs to be documented, I didn't find it so far. |
| Comments |
| Comment by Sergei Golubchik [ 2022-06-29 ] |
|
This is, of course, intentional. Online ALTER works by remembering all changes done to the original table while it's being converted and applying them later in a catch-up step. The total row ordering cannot be guaranteed in this case. |