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

Support instant DROP CHECK CONSTRAINT

    XMLWordPrintable

Details

    Description

      When MDEV-7563 introduced support for the CHECK constraint, it failed to add the flag for DROP CONSTRAINT to INNOBASE_INPLACE_IGNORE. Thus, dropping a CHECK constraint will unnecessarily require the table to be rebuilt, with ALGORITHM=COPY.

      ADD [CONSTRAINT] CHECK does not strictly require a rebuild. As part of MDEV-16291 we can implement validation of all rows without copying the table.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.