MDEV-32361 mariadb-backup --move-back leaves out ib_logfile0
copy_back(): Also copy the dummy empty ib_logfile0 so that MariaDB Server 10.8 or later can be started after --copy-back or --move-back. Thanks to Daniel Black for reporting this.
This commit is contained in:
parent
a34b989f0c
commit
ebf3649259
@ -1984,7 +1984,9 @@ copy_back()
|
|||||||
dst_dir, i);
|
dst_dir, i);
|
||||||
unlink(filename);
|
unlink(filename);
|
||||||
}
|
}
|
||||||
} else if (!(ret = copy_or_move_file(ds_tmp, "ib_logfile0", "ib_logfile0",
|
}
|
||||||
|
|
||||||
|
if (!(ret = copy_or_move_file(ds_tmp, "ib_logfile0", "ib_logfile0",
|
||||||
dst_dir, 1))) {
|
dst_dir, 1))) {
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user