1
0
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:
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

@ -25,8 +25,8 @@
#include <string>
#include <set>
#include <clocale>
//#include "boost/filesystem/operations.hpp"
//#include "boost/filesystem/path.hpp"
// #include "boost/filesystem/operations.hpp"
// #include "boost/filesystem/path.hpp"
using namespace std;
#include "liboamcpp.h"
@ -123,7 +123,7 @@ class ServiceDMLProc : public Service, public Opt
return Service::Parent();
}
void log(logging::LOG_TYPE type, const std::string& str)
void log(logging::LOG_TYPE /*type*/, const std::string& str)
{
LoggingID logid(23, 0, 0);
Message::Args args;

View File

@ -25,7 +25,7 @@
#include <signal.h>
#include <ctime>
//#define SERIALIZE_DDL_DML_CPIMPORT 1
// #define SERIALIZE_DDL_DML_CPIMPORT 1
#include <boost/thread/mutex.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/scoped_array.hpp>
@ -313,7 +313,7 @@ struct CancellationThread
PackageHandler::PackageHandler(const messageqcpp::IOSocket& ios,
boost::shared_ptr<messageqcpp::ByteStream> bs, uint8_t packageType,
joblist::DistributedEngineComm* ec, bool concurrentSupport,
uint64_t maxDeleteRows, uint32_t sessionID,
uint64_t /*maxDeleteRows*/, uint32_t sessionID,
execplan::CalpontSystemCatalog::SCN txnId, DBRM* aDbrm,
const QueryTeleClient& qtc,
boost::shared_ptr<execplan::CalpontSystemCatalog> csc)
@ -322,7 +322,6 @@ PackageHandler::PackageHandler(const messageqcpp::IOSocket& ios,
, fPackageType(packageType)
, fEC(ec)
, fConcurrentSupport(concurrentSupport)
, fMaxDeleteRows(maxDeleteRows)
, fSessionID(sessionID)
, fTableOid(0)
, fTxnid(txnId)
@ -1317,9 +1316,7 @@ int DMLServer::start()
}
DMLProcessor::DMLProcessor(messageqcpp::IOSocket ios, BRM::DBRM* aDbrm)
: fIos(ios)
, fDbrm(aDbrm)
, fConcurrentSupport(false)
: fIos(ios), fDbrm(aDbrm), fConcurrentSupport(false)
{
csc = CalpontSystemCatalog::makeCalpontSystemCatalog();
csc->identity(CalpontSystemCatalog::EC);

View File

@ -214,7 +214,6 @@ class PackageHandler
messageqcpp::ByteStream::quadbyte fPackageType;
joblist::DistributedEngineComm* fEC;
bool fConcurrentSupport;
uint64_t fMaxDeleteRows;
uint32_t fSessionID;
uint32_t fTableOid;
execplan::CalpontSystemCatalog::SCN fTxnid;
@ -330,7 +329,7 @@ class RollbackTransactionProcessor : public dmlpackageprocessor::DMLPackageProce
*
* @param cpackage the UpdateDMLPackage to process
*/
DMLResult processPackageInternal(dmlpackage::CalpontDMLPackage& cpackage)
DMLResult processPackageInternal(dmlpackage::CalpontDMLPackage& /*cpackage*/)
{
DMLResult result;
result.result = NO_ERROR;