mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
MDEV-14997 mariabackup crashes with invalid --innodb-flush-method
Avoid NULL pointer dereference when shutting down after invalid parameters were parsed.
This commit is contained in:
@@ -3569,7 +3569,9 @@ xtrabackup_backup_func()
|
||||
if(innodb_init_param()) {
|
||||
fail:
|
||||
stop_backup_threads();
|
||||
innodb_shutdown();
|
||||
if (fil_system) {
|
||||
innodb_shutdown();
|
||||
}
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user