You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
Remove windows ifdefs
This commit is contained in:
@ -642,15 +642,8 @@ inline void TableInfo::setJobUUID(const boost::uuids::uuid& jobUUID)
|
||||
inline void TableInfo::setErrorDir(const std::string& errorDir)
|
||||
{
|
||||
fErrorDir = errorDir;
|
||||
#ifdef _MSC_VER
|
||||
|
||||
if (fErrorDir.length() > 0 && *(--(fErrorDir.end())) != '/' && *(--(fErrorDir.end())) != '\\')
|
||||
fErrorDir.push_back('\\');
|
||||
}
|
||||
#else
|
||||
|
||||
if (fErrorDir.length() > 0 && *(--(fErrorDir.end())) != '/')
|
||||
fErrorDir.push_back('/');
|
||||
}
|
||||
#endif
|
||||
} // namespace WriteEngine
|
||||
|
Reference in New Issue
Block a user