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

Invalid (old?) table or database name upon DDL on table with vector key and unique key

    XMLWordPrintable

Details

    Description

      --source include/have_innodb.inc
       
      CREATE TABLE t (f VARCHAR(1024) NOT NULL, v BLOB NOT NULL, UNIQUE(f)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
      ALTER TABLE t ADD VECTOR (v);
       
      # Cleanup
      DROP TABLE t;
      

      or

      --source include/have_innodb.inc
       
      CREATE TABLE t (f VARCHAR(1024) NOT NULL, v BLOB NOT NULL, VECTOR(v)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
      ALTER TABLE t ADD UNIQUE(f);
       
      # Cleanup
      DROP TABLE t;
      

      or

      --source include/have_innodb.inc
       
      CREATE TABLE t (f VARCHAR(1024) NOT NULL, v BLOB NOT NULL, VECTOR(v), UNIQUE(f)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
      ALTER TABLE t FORCE, ALGORITHM=COPY;
       
      # Cleanup
      DROP TABLE t;
      

      bb-11.6-MDEV-32887-vector d9037b762404ffed6de0cd3aaf392edc1a6e810a

      2024-10-08 20:09:09 4 [ERROR] Invalid (old?) table or database name 't#i#01'
      

      Attachments

        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.