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
This reverts commit f916e64927
.
This commit is contained in:
@ -45,7 +45,7 @@ bool IDBPolicy::s_bUseRdwrMemBuffer = false;
|
||||
int64_t IDBPolicy::s_hdfsRdwrBufferMaxSize = 0;
|
||||
std::string IDBPolicy::s_hdfsRdwrScratch;
|
||||
bool IDBPolicy::s_configed = false;
|
||||
std::mutex IDBPolicy::s_mutex;
|
||||
boost::mutex IDBPolicy::s_mutex;
|
||||
std::vector<uint16_t> IDBPolicy::s_PreallocSpace;
|
||||
|
||||
void IDBPolicy::init(bool bEnableLogging, bool bUseRdwrMemBuffer, const string& hdfsRdwrScratch,
|
||||
@ -175,7 +175,7 @@ IDBFileSystem& IDBPolicy::getFs(const std::string& path)
|
||||
void IDBPolicy::configIDBPolicy()
|
||||
{
|
||||
// make sure this is done once.
|
||||
std::unique_lock lk(s_mutex);
|
||||
boost::mutex::scoped_lock lk(s_mutex);
|
||||
|
||||
if (s_configed)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user