You've already forked mariadb-columnstore-engine
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:
@ -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())
|
||||
|
Reference in New Issue
Block a user