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

wrong error on MyISAM ALTER TABLE ... ADD UNIQUE

    XMLWordPrintable

Details

    Description

      See myisam_enable_keys-10506 test. Starting from 10.0, MyISAM adds unique indexes using “repair by sort”. Not surprisingly, it cannot correctly detect the conflicting key value. It reports a "duplicate key value XXX", while XXX is not, in fact, duplicate.

      Possible fixes:

      • use a different error message in this case, the one that does not print the conflicting key value
      • detect the conflicting key value correctly, somehow.

      Attachments

        Activity

          People

            Unassigned Unassigned
            serg Sergei Golubchik
            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.