1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

chore(build): fixes to satisfy clang19 warnings

This commit is contained in:
Leonid Fedorov
2025-05-08 15:26:36 +00:00
committed by Leonid Fedorov
parent 9fd7f342a7
commit a0bee173f6
334 changed files with 3062 additions and 3323 deletions

View File

@ -250,7 +250,7 @@ int createMsgQueClts(const std::vector<uint32_t>& pmList,
// code is returned.
//------------------------------------------------------------------------------
int sendRequest(const std::vector<boost::shared_ptr<messageqcpp::MessageQueueClient> >& msgQueClts,
const std::vector<uint32_t>& pmList, BRM::DBRM* brm, const BRM::TableLockInfo& tInfo,
const std::vector<uint32_t>& pmList, BRM::DBRM* /*brm*/, const BRM::TableLockInfo& tInfo,
const std::string& tblName, ClearTableLockThread::CLRTBLLOCK_MSGTYPE msgType,
std::string& errMsg)
{
@ -266,7 +266,7 @@ int sendRequest(const std::vector<boost::shared_ptr<messageqcpp::MessageQueueCli
ClearTableLockStatus* pStatus = new ClearTableLockStatus(moduleID);
statusVec.push_back(pStatus);
tg.create_thread(ClearTableLockThread(brm, msgQueClts[i].get(), tInfo, tblName, msgType, pStatus));
tg.create_thread(ClearTableLockThread(msgQueClts[i].get(), tInfo, tblName, msgType, pStatus));
}
// Wait for all the requests to complete

View File

@ -32,10 +32,10 @@
//------------------------------------------------------------------------------
// ClearTableLockThread constructor
//------------------------------------------------------------------------------
ClearTableLockThread::ClearTableLockThread(BRM::DBRM* brm, messageqcpp::MessageQueueClient* clt,
ClearTableLockThread::ClearTableLockThread(messageqcpp::MessageQueueClient* clt,
const BRM::TableLockInfo& tInfo, const std::string& tblName,
CLRTBLLOCK_MSGTYPE msgType, ClearTableLockStatus* pStatus)
: fTableLockInfo(tInfo), fBrm(brm), fClt(clt), fTblName(tblName), fMsgType(msgType), fStatus(pStatus)
: fTableLockInfo(tInfo), fClt(clt), fTblName(tblName), fMsgType(msgType), fStatus(pStatus)
{
}

View File

@ -104,7 +104,7 @@ class ClearTableLockThread
* @param msgType Message to process
* @param pStatus Status object used to track this bulkload rollback req
*/
ClearTableLockThread(BRM::DBRM* brm, messageqcpp::MessageQueueClient* clt, const BRM::TableLockInfo& tInfo,
ClearTableLockThread(messageqcpp::MessageQueueClient* clt, const BRM::TableLockInfo& tInfo,
const std::string& tblName, CLRTBLLOCK_MSGTYPE msgType, ClearTableLockStatus* pStatus);
/** @brief Entry point for thread execution
@ -121,7 +121,6 @@ class ClearTableLockThread
}
BRM::TableLockInfo fTableLockInfo; // Initial table lock information
BRM::DBRM* fBrm; // Handle to DBRM
messageqcpp::MessageQueueClient* fClt; // Msg queue client to send/rcv msgs
std::string fTblName; // Name of relevant table
CLRTBLLOCK_MSGTYPE fMsgType; // Msg type to process