1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

No boost condition (#2822)

This patch replaces boost primitives with stdlib counterparts.
This commit is contained in:
Leonid Fedorov
2023-04-22 00:42:45 +03:00
committed by GitHub
parent 3ce19abdae
commit f916e64927
245 changed files with 1261 additions and 2007 deletions

View File

@ -53,7 +53,7 @@ namespace WriteEngine
// @bug 4806: Added bIsNewExtent; Set CP min/max for very first extent on a PM
void ColExtInf::addFirstEntry(RID lastInputRow, BRM::LBID_t lbid, bool bIsNewExtent)
{
boost::mutex::scoped_lock lock(fMapMutex);
std::unique_lock lock(fMapMutex);
ColExtInfEntry entry(lbid, bIsNewExtent);
fMap[lastInputRow] = entry;
@ -70,7 +70,7 @@ template <typename T>
void ColExtInf::addOrUpdateEntryTemplate(RID lastInputRow, T minVal, T maxVal, ColDataType colDataType,
int width)
{
boost::mutex::scoped_lock lock(fMapMutex);
std::unique_lock lock(fMapMutex);
RowExtMap::iterator iter = fMap.find(lastInputRow);
@ -152,7 +152,7 @@ void ColExtInf::addOrUpdateEntryTemplate(RID lastInputRow, T minVal, T maxVal, C
//------------------------------------------------------------------------------
int ColExtInf::updateEntryLbid(BRM::LBID_t startLbid)
{
boost::mutex::scoped_lock lock(fMapMutex);
std::unique_lock lock(fMapMutex);
// fPendingExtentRows is a Set carrying a sorted list of the last Row
// number in each extent. We should be allocating/assigning LBIDs in
@ -190,7 +190,7 @@ void ColExtInf::getCPInfoForBRM(JobColumn column, BRMReporter& brmReporter)
{
bool bIsChar = ((column.weType == WriteEngine::WR_CHAR) && (column.colType != COL_TYPE_DICT));
boost::mutex::scoped_lock lock(fMapMutex);
std::unique_lock lock(fMapMutex);
RowExtMap::const_iterator iter = fMap.begin();
@ -280,7 +280,7 @@ void ColExtInf::getCPInfoForBRM(JobColumn column, BRMReporter& brmReporter)
//------------------------------------------------------------------------------
void ColExtInf::print(const JobColumn& column)
{
boost::mutex::scoped_lock lock(fMapMutex);
std::unique_lock lock(fMapMutex);
bool bIsChar = ((column.weType == WriteEngine::WR_CHAR) && (column.colType != COL_TYPE_DICT));
std::ostringstream oss;
oss << "ColExtInf Map for OID: " << fColOid;