summaryrefslogtreecommitdiff
path: root/mysql-test/suite/maria/encrypt-no-key.result
blob: 5229158d5258b63d2ba639b152d4f5aa70d7f2c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
call mtr.add_suppression('Unknown key id 1');
call mtr.add_suppression('try to repair it');
call mtr.add_suppression('Index is corrupted');
set global aria_encrypt_tables= 1;
create table t1 (pk int primary key, a int, key(a)) engine=aria transactional=1;
alter table t1 disable keys;
insert into t1 values  (1,1);
alter table t1 enable keys;
ERROR HY000: Unknown key id 1 for test/t1. Can't continue!
repair table t1 use_frm;
Table	Op	Msg_type	Msg_text
test.t1	repair	warning	Number of rows changed from 0 to 1
test.t1	repair	Error	Unknown key id 1 for test/t1. Can't continue!
test.t1	repair	Error	Unknown key id 1 for test/t1. Can't continue!
test.t1	repair	status	OK
drop table t1;
set global aria_encrypt_tables= default;