You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
chore(build): fixes to satisfy clang19 warnings
This commit is contained in:
committed by
Leonid Fedorov
parent
9fd7f342a7
commit
a0bee173f6
@ -801,7 +801,7 @@ bool DeletePackageProcessor::processRowgroup(ByteStream& aRowGroup, DMLResult& r
|
||||
}
|
||||
|
||||
bool DeletePackageProcessor::receiveAll(DMLResult& result, const uint64_t uniqueId, std::vector<int>& fPMs,
|
||||
std::map<unsigned, bool>& pmStateDel, const uint32_t tableOid)
|
||||
std::map<unsigned, bool>& pmStateDel, const uint32_t /*tableOid*/)
|
||||
{
|
||||
// check how many message we need to receive
|
||||
uint32_t messagesNotReceived = 0;
|
||||
|
@ -210,7 +210,7 @@ void DMLPackageProcessor::convertRidToColumn(uint64_t& rid, unsigned& dbRoot, un
|
||||
unsigned& segment, unsigned filesPerColumnPartition,
|
||||
unsigned extentsPerSegmentFile, unsigned extentRows,
|
||||
unsigned startDBRoot, unsigned dbrootCnt,
|
||||
const unsigned startPartitionNum)
|
||||
const unsigned /*startPartitionNum*/)
|
||||
{
|
||||
partition = rid / (filesPerColumnPartition * extentsPerSegmentFile * extentRows);
|
||||
|
||||
@ -260,7 +260,7 @@ bool DMLPackageProcessor::validateVarbinaryVal(std::string& inStr)
|
||||
return invalid;
|
||||
}
|
||||
|
||||
int DMLPackageProcessor::commitTransaction(uint64_t uniqueId, BRM::TxnID txnID)
|
||||
int DMLPackageProcessor::commitTransaction(uint64_t /*uniqueId*/, BRM::TxnID txnID)
|
||||
{
|
||||
int rc = fDbrm->vbCommit(txnID.id);
|
||||
return rc;
|
||||
@ -587,7 +587,7 @@ int DMLPackageProcessor::commitBatchAutoOnTransaction(uint64_t uniqueId, BRM::Tx
|
||||
return rc;
|
||||
}
|
||||
|
||||
int DMLPackageProcessor::rollBackBatchAutoOnTransaction(uint64_t uniqueId, BRM::TxnID txnID,
|
||||
int DMLPackageProcessor::rollBackBatchAutoOnTransaction(uint64_t uniqueId, BRM::TxnID /*txnID*/,
|
||||
uint32_t sessionID, const uint32_t tableOid,
|
||||
std::string& errorMsg)
|
||||
{
|
||||
@ -720,7 +720,7 @@ int DMLPackageProcessor::rollBackBatchAutoOnTransaction(uint64_t uniqueId, BRM::
|
||||
return rc;
|
||||
}
|
||||
|
||||
int DMLPackageProcessor::commitBatchAutoOffTransaction(uint64_t uniqueId, BRM::TxnID txnID,
|
||||
int DMLPackageProcessor::commitBatchAutoOffTransaction(uint64_t uniqueId, BRM::TxnID /*txnID*/,
|
||||
const uint32_t tableOid, std::string& errorMsg)
|
||||
{
|
||||
std::vector<BRM::TableLockInfo> tableLocks;
|
||||
@ -853,7 +853,7 @@ int DMLPackageProcessor::rollBackBatchAutoOffTransaction(uint64_t uniqueId, BRM:
|
||||
return rc;
|
||||
}
|
||||
|
||||
int DMLPackageProcessor::flushDataFiles(int rcIn, std::map<FID, FID>& columnOids, uint64_t uniqueId,
|
||||
int DMLPackageProcessor::flushDataFiles(int rcIn, std::map<FID, FID>& /*columnOids*/, uint64_t uniqueId,
|
||||
BRM::TxnID txnID, uint32_t tableOid)
|
||||
{
|
||||
// cout <<"in flushDataFiles" << endl;
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <fstream>
|
||||
#include <ctype.h>
|
||||
#include <string>
|
||||
//#define NDEBUG
|
||||
// #define NDEBUG
|
||||
#include <cassert>
|
||||
#include <map>
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
@ -57,7 +57,7 @@ using namespace messageqcpp;
|
||||
using namespace BRM;
|
||||
using namespace oam;
|
||||
|
||||
//#define PROFILE 1
|
||||
// #define PROFILE 1
|
||||
namespace dmlpackageprocessor
|
||||
{
|
||||
// StopWatch timer;
|
||||
@ -118,9 +118,9 @@ DMLPackageProcessor::DMLResult UpdatePackageProcessor::processPackageInternal(
|
||||
fWEClient->addQueue(uniqueId);
|
||||
execplan::CalpontSystemCatalog::ROPair roPair;
|
||||
|
||||
//#ifdef PROFILE
|
||||
// #ifdef PROFILE
|
||||
// StopWatch timer;
|
||||
//#endif
|
||||
// #endif
|
||||
try
|
||||
{
|
||||
LoggingID logid(DMLLoggingId, fSessionID, txnid.id);
|
||||
@ -903,7 +903,7 @@ bool UpdatePackageProcessor::processRowgroup(ByteStream& aRowGroup, DMLResult& r
|
||||
}
|
||||
|
||||
bool UpdatePackageProcessor::receiveAll(DMLResult& result, const uint64_t uniqueId, std::vector<int>& fPMs,
|
||||
std::map<unsigned, bool>& pmState, const uint32_t tableOid)
|
||||
std::map<unsigned, bool>& pmState, const uint32_t /*tableOid*/)
|
||||
{
|
||||
// check how many message we need to receive
|
||||
uint32_t messagesNotReceived = 0;
|
||||
|
Reference in New Issue
Block a user