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

Wrong estimate of affected BLOB columns in update of PRIMARY KEY

    XMLWordPrintable

Details

    Description

      MySQL 5.7.30 included the following bug fix:
      Bug#30437378 : ASSERTION N_EXT == DTUPLE->GET_N_EXT() AT REC_GET_CONVERTED_SIZE() IN REM0REC.IC
      It appears to be a follow-up to the MySQL 5.7.29 bug fix which we reported as MDEV-21511:
      Bug#30342846 : N_EXT CALCULATION IS NOT CORRECT WHICH CAUSES WRONG RECORD SIZE CALCULATION
      This refines an earlier fix in MySQL 5.7.5. I verified that the changed code is covered by the test innodb.blob-crash.

      No test case was included for either the MySQL 5.7.29 or 5.7.30 code changes.

      Only a part of the change applies to MariaDB. MDEV-11487 removed the function row_update_for_mysql_using_cursor(), which was unused in MariaDB Server.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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