Commit 4c7a1a1b authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-15780 : mariabackup does not handle absolute names in for system tablespaces

Fix 10.2-specific bug - copy-back is not prepared to handle system
tablespaces with absolute path.
parent 740fc2ae
......@@ -1816,7 +1816,8 @@ copy_back()
is_ibdata_file = false;
for (Tablespace::const_iterator iter(srv_sys_space.begin()),
end(srv_sys_space.end()); iter != end; ++iter) {
if (strcmp(iter->name(), filename) == 0) {
const char *ibfile = base_name(iter->name());
if (strcmp(ibfile, filename) == 0) {
is_ibdata_file = true;
break;
}
......
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