mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
51ca5d517e
This fixes up commit 3d241eb948
20 lines
637 B
Text
20 lines
637 B
Text
#
|
|
# MDEV-18496 Crash when Aria encryption is enabled but plugin not available
|
|
#
|
|
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);
|
|
--replace_result \\ /
|
|
--replace_regex /for .*test/for test/
|
|
--error 192
|
|
alter table t1 enable keys;
|
|
--replace_result \\ /
|
|
--replace_regex /for .*test/for test/
|
|
repair table t1 use_frm;
|
|
drop table t1;
|
|
set global aria_encrypt_tables= default;
|