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

@ -24,8 +24,10 @@
#include <cstdlib>
#include <string>
using namespace std;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include "utils/pcre2/jpcre2.hpp"
#pragma GCC diagnostic pop
#include "functor_bool.h"
#include "functor_str.h"
@ -261,28 +263,28 @@ inline RegExpParams getEpressionAndPattern(rowgroup::Row& row, funcexp::Function
namespace funcexp
{
CalpontSystemCatalog::ColType Func_regexp_replace::operationType(FunctionParm& fp,
CalpontSystemCatalog::ColType& resultType)
CalpontSystemCatalog::ColType Func_regexp_replace::operationType(
FunctionParm& fp, CalpontSystemCatalog::ColType& /*resultType*/)
{
// operation type is not used by this functor
return fp[0]->data()->resultType();
}
CalpontSystemCatalog::ColType Func_regexp_substr::operationType(FunctionParm& fp,
CalpontSystemCatalog::ColType& resultType)
CalpontSystemCatalog::ColType& /*resultType*/)
{
// operation type is not used by this functor
return fp[0]->data()->resultType();
}
CalpontSystemCatalog::ColType Func_regexp_instr::operationType(FunctionParm& fp,
CalpontSystemCatalog::ColType& resultType)
CalpontSystemCatalog::ColType& /*resultType*/)
{
// operation type is not used by this functor
return fp[0]->data()->resultType();
}
CalpontSystemCatalog::ColType Func_regexp::operationType(FunctionParm& fp,
CalpontSystemCatalog::ColType Func_regexp::operationType(FunctionParm& /*fp*/,
CalpontSystemCatalog::ColType& resultType)
{
return resultType;