mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-25312 fixup: Invoke fil_space_t::rename() correctly
This commit is contained in:
parent
4547c6f283
commit
a0b133f431
1 changed files with 1 additions and 2 deletions
|
@ -4921,8 +4921,7 @@ exit:
|
|||
msg("mariabackup: Renaming %s to %s.ibd",
|
||||
fil_space->chain.start->name, tmpname);
|
||||
|
||||
if (fil_space->rename(tmpname, NULL, false)
|
||||
!= DB_SUCCESS) {
|
||||
if (fil_space->rename(tmpname, false) != DB_SUCCESS) {
|
||||
msg("mariabackup: Cannot rename %s to %s",
|
||||
fil_space->chain.start->name, tmpname);
|
||||
goto exit;
|
||||
|
|
Loading…
Reference in a new issue