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

@ -19,9 +19,7 @@
#include <boost/thread.hpp>
#include <sstream>
#ifndef _MSC_VER
#include <dlfcn.h>
#endif
#include <string.h>
#include <errno.h>
#include <iostream>
@ -64,11 +62,6 @@ bool IDBFactory::installDefaultPlugins()
bool IDBFactory::installPlugin(const std::string& plugin)
{
#ifdef _MSC_VER
ostringstream oss;
oss << "InfiniDB for Windows does not support plugins: plugin = " << plugin;
throw std::runtime_error(oss.str());
#else
// protect these methods since we are changing our static data structure
boost::mutex::scoped_lock lock(fac_guard);
@ -99,7 +92,6 @@ bool IDBFactory::installPlugin(const std::string& plugin)
oss << "IDBFactory::installPlugin: installed filesystem plugin " << plugin;
IDBLogger::syslog(oss.str(), logging::LOG_TYPE_DEBUG);
return true;
#endif
}
vector<IDBDataFile::Types> IDBFactory::listPlugins()