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

Remove windows ifdefs

This commit is contained in:
Leonid Fedorov
2023-03-02 15:59:42 +00:00
parent 123c345b40
commit 56f2346083
328 changed files with 9 additions and 19602 deletions

View File

@ -1147,13 +1147,6 @@ int RBMetaWriter::writeHWMChunk(bool bColumnFile, // is this a column (vs dic
// IDBDataFile flush() does a sync where appropriate
delete backupFile;
#ifdef _MSC_VER
// Windows rename() behaves differently from Linux: it will return an error
// if the target exists
// FIXME: The Linux version seems a bit safer, perhaps implement a better
// Windows port?
unlink(fileName.c_str());
#endif
// Rename HWM backup file to final name.
if (fs.rename(fileNameTmp.c_str(), fileName.c_str()))