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

@ -258,7 +258,7 @@ inline bool getBool(rowgroup::Row& row, funcexp::FunctionParm& pm, bool& isNull,
return !isNull && strGE(cs, val, pm[1]->data()->getStrVal(row, isNull).safeString("")) &&
strLE(cs, val, pm[2]->data()->getStrVal(row, isNull).safeString(""));
}
break; // XXX: gcc falsely complains here.
break; // XXX: gcc falsely complains here.
default:
{
@ -330,7 +330,8 @@ CalpontSystemCatalog::ColType Func_between::operationType(FunctionParm& fp,
if (cc)
{
Result result = cc->result();
result.intVal = dataconvert::DataConvert::timestampToInt(result.strVal.safeString(""), resultType.getTimeZone());
result.intVal =
dataconvert::DataConvert::timestampToInt(result.strVal.safeString(""), resultType.getTimeZone());
cc->result(result);
}
}
@ -362,7 +363,7 @@ bool Func_between::getBoolVal(rowgroup::Row& row, FunctionParm& pm, bool& isNull
}
CalpontSystemCatalog::ColType Func_notbetween::operationType(FunctionParm& fp,
CalpontSystemCatalog::ColType& resultType)
CalpontSystemCatalog::ColType& /*resultType*/)
{
PredicateOperator* op = new PredicateOperator();
CalpontSystemCatalog::ColType ct;