mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01: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:
parent
5ab4602810
commit
a08121c978
1 changed files with 3 additions and 1 deletions
|
@ -3569,7 +3569,9 @@ xtrabackup_backup_func()
|
|||
if(innodb_init_param()) {
|
||||
fail:
|
||||
stop_backup_threads();
|
||||
innodb_shutdown();
|
||||
if (fil_system) {
|
||||
innodb_shutdown();
|
||||
}
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue