summaryrefslogtreecommitdiff
path: root/mysql-test/suite/maria/encrypt-no-key.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/maria/encrypt-no-key.test')
-rw-r--r--mysql-test/suite/maria/encrypt-no-key.test8
1 files changed, 6 insertions, 2 deletions
diff --git a/mysql-test/suite/maria/encrypt-no-key.test b/mysql-test/suite/maria/encrypt-no-key.test
index 2d586c50695..eebc2a102d3 100644
--- a/mysql-test/suite/maria/encrypt-no-key.test
+++ b/mysql-test/suite/maria/encrypt-no-key.test
@@ -1,14 +1,18 @@
#
# MDEV-18496 Crash when Aria encryption is enabled but plugin not available
#
-call mtr.add_suppression('Unknown key id 1. Can''t continue');
+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);
-error 192;
+--replace_result \\ /
+--error 192
alter table t1 enable keys;
+--replace_result \\ /
repair table t1 use_frm;
drop table t1;
set global aria_encrypt_tables= default;