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

@ -39,14 +39,14 @@ using namespace dataconvert;
namespace funcexp
{
CalpontSystemCatalog::ColType Func_coalesce::operationType(FunctionParm& fp,
CalpontSystemCatalog::ColType Func_coalesce::operationType(FunctionParm& /*fp*/,
CalpontSystemCatalog::ColType& resultType)
{
return resultType;
}
int64_t Func_coalesce::getIntVal(rowgroup::Row& row, FunctionParm& parm, bool& isNull,
CalpontSystemCatalog::ColType& op_ct)
CalpontSystemCatalog::ColType& /*op_ct*/)
{
int64_t val = 0;
@ -68,7 +68,7 @@ int64_t Func_coalesce::getIntVal(rowgroup::Row& row, FunctionParm& parm, bool& i
}
string Func_coalesce::getStrVal(rowgroup::Row& row, FunctionParm& parm, bool& isNull,
CalpontSystemCatalog::ColType& ct)
CalpontSystemCatalog::ColType& /*ct*/)
{
string val;
@ -90,7 +90,7 @@ string Func_coalesce::getStrVal(rowgroup::Row& row, FunctionParm& parm, bool& is
}
int32_t Func_coalesce::getDateIntVal(rowgroup::Row& row, FunctionParm& parm, bool& isNull,
CalpontSystemCatalog::ColType& ct)
CalpontSystemCatalog::ColType& /*ct*/)
{
int64_t val = 0;
@ -112,7 +112,7 @@ int32_t Func_coalesce::getDateIntVal(rowgroup::Row& row, FunctionParm& parm, boo
}
int64_t Func_coalesce::getDatetimeIntVal(rowgroup::Row& row, FunctionParm& parm, bool& isNull,
CalpontSystemCatalog::ColType& ct)
CalpontSystemCatalog::ColType& /*ct*/)
{
int64_t val = 0;
@ -134,7 +134,7 @@ int64_t Func_coalesce::getDatetimeIntVal(rowgroup::Row& row, FunctionParm& parm,
}
int64_t Func_coalesce::getTimestampIntVal(rowgroup::Row& row, FunctionParm& parm, bool& isNull,
CalpontSystemCatalog::ColType& ct)
CalpontSystemCatalog::ColType& /*ct*/)
{
int64_t val = 0;
@ -156,7 +156,7 @@ int64_t Func_coalesce::getTimestampIntVal(rowgroup::Row& row, FunctionParm& parm
}
int64_t Func_coalesce::getTimeIntVal(rowgroup::Row& row, FunctionParm& parm, bool& isNull,
CalpontSystemCatalog::ColType& ct)
CalpontSystemCatalog::ColType& /*ct*/)
{
int64_t val = 0;
@ -178,7 +178,7 @@ int64_t Func_coalesce::getTimeIntVal(rowgroup::Row& row, FunctionParm& parm, boo
}
double Func_coalesce::getDoubleVal(rowgroup::Row& row, FunctionParm& parm, bool& isNull,
execplan::CalpontSystemCatalog::ColType& ct)
execplan::CalpontSystemCatalog::ColType& /*ct*/)
{
double d = 0.0;
@ -200,7 +200,7 @@ double Func_coalesce::getDoubleVal(rowgroup::Row& row, FunctionParm& parm, bool&
}
long double Func_coalesce::getLongDoubleVal(rowgroup::Row& row, FunctionParm& parm, bool& isNull,
execplan::CalpontSystemCatalog::ColType& ct)
execplan::CalpontSystemCatalog::ColType& /*ct*/)
{
long double d = 0.0;
@ -222,7 +222,7 @@ long double Func_coalesce::getLongDoubleVal(rowgroup::Row& row, FunctionParm& pa
}
execplan::IDB_Decimal Func_coalesce::getDecimalVal(rowgroup::Row& row, FunctionParm& parm, bool& isNull,
execplan::CalpontSystemCatalog::ColType& ct)
execplan::CalpontSystemCatalog::ColType& /*ct*/)
{
IDB_Decimal d;