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

@ -29,9 +29,6 @@
using namespace std;
#ifdef _MSC_VER
#include "utils_utf8.h"
#endif
namespace idbdatafile
{
@ -76,20 +73,6 @@ int PosixFileSystem::remove(const char* pathname)
boost::filesystem::remove_all(dirPath);
}
#ifdef _MSC_VER
catch (std::exception& ex)
{
// FIXME: alas, Windows cannot delete a file that is in use :-(
std::string reason(ex.what());
std::string ignore("The directory is not empty");
if (reason.find(ignore) != std::string::npos)
(void)0;
else
ret = -1;
}
#endif
catch (...)
{
// TODO Log this