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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user