[MDEV-22601] ER_KEY_NOT_FOUND or Assertion `0' failed in Protocol::end_statement upon ALTER on sequence Created: 2020-05-16 Updated: 2021-09-17 Resolved: 2021-09-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table, Sequences |
| Affects Version/s: | 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.3.32, 10.4.22, 10.5.13 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | affects-tests | ||
| Description |
|
ALTER above causes ER_KEY_NOT_FOUND on release and debug builds:
It is also written into the error log. If we add binary logging to the scenario, we also get a debug assertion failure:
Reproducible on 10.3-10.4, not on the current 10.5. However, I find ER_KEY_NOT_FOUND to be a more serious problem here than the assertion failure. |
| Comments |
| Comment by Elena Stepanova [ 2020-05-29 ] | ||||||||||||||||||||||||||||||||||||||||||
|
Setting affects-tests}}due to {{Can't find record error. These errors are indistinguishable and thus may hide true data corruption. | ||||||||||||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2021-09-17 ] | ||||||||||||||||||||||||||||||||||||||||||
|
It is definetly fixed now (return correct error), test file:
result:
|