Commit a0b133f4 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-25312 fixup: Invoke fil_space_t::rename() correctly

parent 4547c6f2
...@@ -4921,8 +4921,7 @@ xb_delta_open_matching_space( ...@@ -4921,8 +4921,7 @@ xb_delta_open_matching_space(
msg("mariabackup: Renaming %s to %s.ibd", msg("mariabackup: Renaming %s to %s.ibd",
fil_space->chain.start->name, tmpname); fil_space->chain.start->name, tmpname);
if (fil_space->rename(tmpname, NULL, false) if (fil_space->rename(tmpname, false) != DB_SUCCESS) {
!= DB_SUCCESS) {
msg("mariabackup: Cannot rename %s to %s", msg("mariabackup: Cannot rename %s to %s",
fil_space->chain.start->name, tmpname); fil_space->chain.start->name, tmpname);
goto exit; goto exit;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment