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

[bugfix] Issue: #62 alter TokuDB table comment rebuild whole engine data

    XMLWordPrintable

Details

    Description

      Alter TokuDB table comment should not using copying algorithm and
      rebuild whole engine data, only FRM definition should be changed.
       
      Make `ha_tokudb::check_if_supported_inplace_alter()` return
      `HA_ALTER_INPLACE_EXCLUSIVE_LOCK` while altering comment, and mysql
      server will invoke `ha_tokudb::inplace_alter_table` which will do
      nothing for altering comment.
       
      Besides table comment, there are many other create options that
      should be ignored by TokuDB, and they are all handled in this patch.
       
      Btw, this patch has been pushed to TokuDB upstream.
       
      This patch also contains a postfix for bug#88847, which handles
      cases when UK or Key with auto-inc fileld is invisible.
      

      https://github.com/alibaba/AliSQL/commit/349aa360aba29f51ed1ab030d76618cb01711648

      Attachments

        Activity

          People

            Unassigned Unassigned
            anel Anel Husakovic
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.