1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-8764: Wrong error when encrypted table can't be decrypted.

Add a new error message when table is encrypted but decryption
fails. Use this new error message on InnoDB/XtraDB.
This commit is contained in:
Jan Lindström
2015-09-14 08:27:14 +03:00
parent 27ec0e159b
commit d581ef5b2c
30 changed files with 246 additions and 145 deletions

View File

@ -44,11 +44,13 @@ EOF
--enable_reconnect
--source include/wait_until_connected_again.inc
--error 0,ER_NO_SUCH_TABLE_IN_ENGINE
--error ER_GET_ERRMSG
select * from t1;
--error 0,ER_NO_SUCH_TABLE_IN_ENGINE
show warnings;
--error ER_GET_ERRMSG
alter table t1 discard tablespace;
--error ER_NO_SUCH_TABLE_IN_ENGINE
show warnings;
--error ER_GET_ERRMSG
alter table t1 engine=InnoDB;
show warnings;