[MDEV-15937] Assertion failure 'key->flags & 1' on ALTER TABLE Created: 2018-04-20 Updated: 2018-04-23 Resolved: 2018-04-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.2.2, 10.3.0 |
| Fix Version/s: | 10.0.35, 10.1.33, 10.2.15, 10.3.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | online-ddl, upstream | ||
| Description |
|
This was originally reported by Roel as MySQL Bug #89087 Assertion `key->flags & 1' failed.
There is a fix for this in MySQL 8.0.11, but I think that we should fix this differently in MariaDB, and starting from the first potentially affected version (10.0). I was not able to repeat a failure on 10.0 even after adding a debug assertion. For 10.2, the minimal fix should be as follows:
|