1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Eventually found the problem with rename(). Was calling

::unlink() instead of our unlink/remove.
This commit is contained in:
Patrick LeBlanc
2019-04-10 15:01:29 -05:00
parent c0f93d904a
commit dfc29fa833
4 changed files with 9 additions and 3 deletions

View File

@ -68,7 +68,7 @@ int SMFileSystem::rename(const char *oldFile, const char *newFile)
int err = copyFile(oldFile, newFile);
if (err)
return err;
err = unlink(oldFile);
err = this->remove(oldFile);
return err;
}