1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +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

@ -180,7 +180,7 @@ class StatMon
void operator()() const
{
// struct timespec ts = { 60 * 1, 0 };
mutex::scoped_lock lk(traceFileMapMutex);
std::scoped_lock lk(traceFileMapMutex);
TraceFileMap_t::iterator iter;
TraceFileMap_t::iterator end;
@ -239,7 +239,7 @@ void Stats::touchedLBID(uint64_t lbid, pthread_t thdid, uint32_t session)
if (lbid < 0 || session == 0)
return;
mutex::scoped_lock lk(traceFileMapMutex);
std::scoped_lock lk(traceFileMapMutex);
TraceFileMap_t::iterator iter = traceFileMap.find(session);
if (iter == traceFileMap.end())
@ -257,7 +257,7 @@ void Stats::markEvent(const uint64_t lbid, const pthread_t thdid, const uint32_t
if (lbid < 0 || session == 0)
return;
mutex::scoped_lock lk(traceFileMapMutex);
std::scoped_lock lk(traceFileMapMutex);
TraceFileMap_t::iterator iter = traceFileMap.find(session);
if (iter == traceFileMap.end())