Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-20879

Include actual row size in "Row size too large" error message

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • 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 ...
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            hholzgra Hartmut Holzgraefe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.