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

InnoDB indexes are inconsistent with what defined in .frm for table after rebuilding table with index on blob

    XMLWordPrintable

Details

    Description

      Note: The failure became possible after MDEV-371, without it ALTER is rejected due to the missing length in the key definition.

      --source include/have_innodb.inc
       
      CREATE TABLE t1 (b BLOB) ENGINE=InnoDB;
      ALTER TABLE t1 ADD INDEX(b);
      ALTER TABLE t1 FORCE;
       
      # Cleanup
      DROP TABLE t1;
      

      10.4 fb01193c

      2019-02-24  3:24:53 9 [ERROR] Found index b whose column info does not match that of MariaDB.
      2019-02-24  3:24:53 9 [ERROR] InnoDB indexes are inconsistent with what defined in .frm for table ./test/t1
      ^ Found warnings in /dev/shm/var/log/mysqld.1.err
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              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.