You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
This reverts commit f916e64927
.
This commit is contained in:
@ -71,7 +71,7 @@ const std::string ERR_LOG_SUFFIX = ".err"; // Job err log file suffix
|
||||
namespace WriteEngine
|
||||
{
|
||||
/* static */ boost::ptr_vector<TableInfo> BulkLoad::fTableInfo;
|
||||
/* static */ std::mutex* BulkLoad::fDDLMutex = 0;
|
||||
/* static */ boost::mutex* BulkLoad::fDDLMutex = 0;
|
||||
|
||||
/* static */ const std::string BulkLoad::DIR_BULK_JOB("job");
|
||||
/* static */ const std::string BulkLoad::DIR_BULK_TEMP_JOB("tmpjob");
|
||||
@ -165,7 +165,7 @@ BulkLoad::BulkLoad()
|
||||
fTableInfo.clear();
|
||||
setDebugLevel(DEBUG_0);
|
||||
|
||||
fDDLMutex = new std::mutex();
|
||||
fDDLMutex = new boost::mutex();
|
||||
memset(&fStartTime, 0, sizeof(timeval));
|
||||
memset(&fEndTime, 0, sizeof(timeval));
|
||||
}
|
||||
@ -1584,7 +1584,7 @@ int BulkLoad::updateNextValue(OID columnOid, uint64_t nextAutoIncVal)
|
||||
// job for 2 tables; so we put a mutex here just in case the DDLClient code
|
||||
// won't work well with 2 competing WE_DDLCommandClient objects in the same
|
||||
// process (ex: if there is any static data in WE_DDLCommandClient).
|
||||
std::unique_lock lock(*fDDLMutex);
|
||||
boost::mutex::scoped_lock lock(*fDDLMutex);
|
||||
WE_DDLCommandClient ddlCommandClt;
|
||||
unsigned int rc = ddlCommandClt.UpdateSyscolumnNextval(columnOid, nextAutoIncVal);
|
||||
|
||||
|
Reference in New Issue
Block a user