mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-24612: innodb hangs if it's initialization is broken before encryption threads are started
Do not init encryption threads if shutdown is in progress.
This commit is contained in:
12
mysql-test/suite/innodb/r/encryption_threads_shutdown.result
Normal file
12
mysql-test/suite/innodb/r/encryption_threads_shutdown.result
Normal file
@ -0,0 +1,12 @@
|
||||
call mtr.add_suppression("Creating system tablespace with existing redo log file is not recommended.");
|
||||
call mtr.add_suppression("InnoDB: Database creation was aborted");
|
||||
call mtr.add_suppression("Plugin 'InnoDB' init function returned error.");
|
||||
call mtr.add_suppression("Plugin 'InnoDB' registration as a STORAGE ENGINE failed.");
|
||||
CREATE TABLE t(a INT) ENGINE=InnoDB;
|
||||
# Kill the server
|
||||
# restart
|
||||
SELECT * FROM t;
|
||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||
# Kill the server
|
||||
# restart
|
||||
DROP TABLE t;
|
Reference in New Issue
Block a user