[MDEV-22428] Improve "Unknown key id 1. Can't continue!" message Created: 2020-05-01  Updated: 2023-04-27

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - Aria
Fix Version/s: 10.4

Type: Task Priority: Trivial
Reporter: Roel Van de Paar Assignee: Michael Widenius
Resolution: Unresolved Votes: 0
Labels: None


 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.


Generated at Thu Feb 08 09:14:40 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.