[MDEV-28936] ERROR 1074 Column Length too long, recommends unobtainable value Created: 2022-06-23 Updated: 2023-04-14 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.6.7 |
| Fix Version/s: | 10.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Daniel Black | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
10.6.7-MariaDB-log managed by https://aws.amazon.com/rds/ |
||
| Description |
|
The 16383 max size recommended isn't achievable, recommendation should have been 16354.
|
| Comments |
| Comment by Daniel Black [ 2022-07-05 ] | ||||
|
To correct the ER_TOO_BIG_ROWSIZE message for innodb used by CREATE TABLE, a ha_innobase::max_supported_record_length() that returns innodb page size/2 would create an almost (excludes 20 bytes per blob/text/large varchar) accurate error for:
(error emitted by pack_header()). ER_TOO_BIG_FIELDLENGTH, from Column_definition::prepare_blob_field, is purely looking at the column, so its probably ok as is.
|