You've already forked mariadb-columnstore-engine
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:
committed by
Leonid Fedorov
parent
9fd7f342a7
commit
a0bee173f6
@ -42,14 +42,14 @@ using namespace dataconvert;
|
||||
|
||||
namespace funcexp
|
||||
{
|
||||
CalpontSystemCatalog::ColType Func_sysdate::operationType(FunctionParm& fp,
|
||||
CalpontSystemCatalog::ColType Func_sysdate::operationType(FunctionParm& /*fp*/,
|
||||
CalpontSystemCatalog::ColType& resultType)
|
||||
{
|
||||
return resultType;
|
||||
}
|
||||
|
||||
int64_t Func_sysdate::getIntVal(rowgroup::Row& row, FunctionParm& parm, bool& isNull,
|
||||
CalpontSystemCatalog::ColType& operationColType)
|
||||
int64_t Func_sysdate::getIntVal(rowgroup::Row& /*row*/, FunctionParm& /*parm*/, bool& /*isNull*/,
|
||||
CalpontSystemCatalog::ColType& /*operationColType*/)
|
||||
{
|
||||
struct tm tmp_tm;
|
||||
time_t now;
|
||||
@ -67,8 +67,8 @@ int64_t Func_sysdate::getIntVal(rowgroup::Row& row, FunctionParm& parm, bool& is
|
||||
return *(reinterpret_cast<uint64_t*>(&aDatetime));
|
||||
}
|
||||
|
||||
string Func_sysdate::getStrVal(rowgroup::Row& row, FunctionParm& parm, bool& isNull,
|
||||
CalpontSystemCatalog::ColType& operationColType)
|
||||
string Func_sysdate::getStrVal(rowgroup::Row& /*row*/, FunctionParm& /*parm*/, bool& /*isNull*/,
|
||||
CalpontSystemCatalog::ColType& /*operationColType*/)
|
||||
{
|
||||
time_t now;
|
||||
now = time(NULL);
|
||||
|
Reference in New Issue
Block a user