[MDEV-20879] Include actual row size in "Row size too large" error message Created: 2019-10-23  Updated: 2020-01-23

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Hartmut Holzgraefe Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Right now, when creating or altering a table that would potentially exceed the row size limit,
the warning/error message looks like this:

ERROR 1118 (42000): Row size too large (> 8126). Changing some columns to TEXT or BLOB ...

It would be nice to know by how much the row size limit has actually been exceeded, by having the actual max. row size also shown in the error message, e.g.:

ERROR 1118 (42000): Row size too large (9999 > 8126). Changing some columns to TEXT or BLOB ...

or

ERROR 1118 (42000): Row size too large (exceeds the 8126 byte limit by 99 bytes). Changing some columns to TEXT or BLOB ...


Generated at Thu Feb 08 09:02:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.