[MDEV-26253] ERROR 1032 (HY000): Can't find record with MyISAM, (too?) large key and DISABLE KEYS Created: 2021-07-27 Updated: 2023-11-28 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Server, Storage Engine - MyISAM |
| Affects Version/s: | 10.4.19, 10.4, 10.5, 10.6, 10.8, 10.9, 10.10, 10.11, 11.0, 11.1 |
| Fix Version/s: | 10.4, 10.5, 10.6, 10.11, 11.0, 11.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Martijn | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
This runs just fine:
However, when first disabling keys (commonly seen when using mysqldump) the INSERT query fails with an ERROR 1032 (HY000): Can't find record in 'test':
Character set being used is utf8mb4 If you use the ARIA storage engine, the CREATE statement will fail with ERROR 1071 (42000): Specified key was too long; max key length is 1000 bytes (varchar(255) in utf8mb4 is 1020 bytes). |
| Comments |
| Comment by Martijn [ 2021-07-27 ] | ||||||||||||||||||||||
|
Possible the same issue as MDEV-25102 | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2022-01-07 ] | ||||||||||||||||||||||
|
Thanks for the report. Reproducible as described, yet another unique blob problem.
The resulting table structure:
or, upon DDL,
|