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

Improve "Unknown key id 1. Can't continue!" message

    XMLWordPrintable

Details

    Description

      # mysqld options required for replay:  --sql_mode= 
      USE test;
      SET GLOBAL aria_encrypt_tables=1;
      CREATE TABLE t1(c INT KEY) ENGINE=INNODB;
      INSERT INTO t1 VALUES(1);
      ALTER TABLE t1 ENGINE=Aria;
      

      Leads to:

      ERROR 192 (HY000) at line 6 in file: 'in.sql': Unknown key id 1. Can't continue!
      

      To avoid confusion, propose changing this to:

      ERROR 192 (HY000) at line 6 in file: 'in.sql': Unknown encryption key id 1. Can't continue!
      

      i.e. adding 'encryption'

      The first time I saw this message I thought it was referring to "key value 1"; i.e. the first record in the table.

      Attachments

        Activity

          People

            monty Michael Widenius
            Roel Roel Van de Paar
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.