[MDEV-27216] Bogus "Incorrect information in file" upon failed attempt to add a long unique key Created: 2021-12-10 Updated: 2021-12-10 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Virtual Columns |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Nikita Malyavin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | not-10.5, not-10.6, not-10.7 | ||
| Description |
|
Since the commit below, the ALTER fails. Judging by the commit comment, it's intentional.
However, on 10.4, in addition to the error returned in the client, there is also an error written to the log:
This error typically indicates corruption which in this case is (hopefully) a false alarm. If so, it shouldn't be there. It doesn't happen on 10.5+, only on 10.4. Maybe it's related to 10.5+ returning a different error upon ALTER, ER_NO_AUTOINCREMENT_WITH_UNIQUE instead of ER_GENERATED_COLUMN_FUNCTION_IS_NOT_ALLOWED. |