[MDEV-31601] Some ALTER TABLE .. fail when they worked before, and with a wrong error message Created: 2023-07-02 Updated: 2023-08-16 Resolved: 2023-08-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table |
| Affects Version/s: | N/A |
| Fix Version/s: | 11.2.1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Nikita Malyavin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
ALTER here can have actual operations before ALGORITHM, I just over-simplified it to allow ALTER be executed multiple times without intermediate changes. In the above example, before
This is in itself weird, and may be a bug. After
Regardless which algorithm is specified, it complains about INPLACE. Or, if the old behavior was valid and on whatever reason INPLACE was indeed not applicable, but NOCOPY and INSTANT were, then the new behavior is functionally a regression. |
| Comments |
| Comment by Elena Stepanova [ 2023-07-03 ] | |||||||||
|
Same happens upon ENGINE change.
and upon ALTER on a temporary table
| |||||||||
| Comment by Sergei Golubchik [ 2023-07-07 ] | |||||||||
|
6e6e950c8ab is ok to push |