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
chore(build): fixes to satisfy clang19 warnings
This commit is contained in:
committed by
Leonid Fedorov
parent
9fd7f342a7
commit
a0bee173f6
@ -62,7 +62,7 @@ class PriorityThreadPool
|
||||
Job() : weight(1), priority(0), id(0)
|
||||
{
|
||||
}
|
||||
Job(const uint32_t uniqueID, const uint32_t stepID, const TransactionIdxT txnIdx,
|
||||
Job(const uint32_t uniqueID, const uint32_t stepID, const TransactionIdxT /*txnIdx*/,
|
||||
const boost::shared_ptr<Functor>& functor, const primitiveprocessor::SP_UM_IOSOCK& sock,
|
||||
const uint32_t weight = 1, const uint32_t priority = 0, const uint32_t id = 0)
|
||||
: functor(functor)
|
||||
|
@ -90,11 +90,6 @@ void WeightedThreadPool::setMaxThreadWeight(size_t maxWeight)
|
||||
fMaxThreadWeight = maxWeight;
|
||||
}
|
||||
|
||||
void WeightedThreadPool::setThreadCreatedListener(const Functor_T& f)
|
||||
{
|
||||
// fThreadCreated = f;
|
||||
}
|
||||
|
||||
void WeightedThreadPool::stop()
|
||||
{
|
||||
boost::mutex::scoped_lock lock1(fMutex);
|
||||
|
@ -116,12 +116,7 @@ class WeightedThreadPool
|
||||
return fMaxThreadWeight;
|
||||
}
|
||||
|
||||
/** @brief register a functor to be called when a new thread
|
||||
* is created
|
||||
*/
|
||||
void setThreadCreatedListener(const Functor_T& f);
|
||||
|
||||
/** @brief queue size accessor
|
||||
/** @brief queue size accessor
|
||||
*
|
||||
*/
|
||||
inline uint32_t getWaiting() const
|
||||
|
Reference in New Issue
Block a user