You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-06-15 03:21:42 +03:00
chore(build): fixes to satisfy clang19 warnings
This commit is contained in:
committed by
Leonid Fedorov
parent
9fd7f342a7
commit
a0bee173f6
@ -70,11 +70,11 @@ bool JSONPathWrapper::extract(std::string& ret, rowgroup::Row& row, execplan::SP
|
||||
|
||||
int error = 0;
|
||||
|
||||
if (json_path_setup(&p, getCharset(funcParamPath), (const uchar*)sjsp.str(),
|
||||
(const uchar*)sjsp.end()))
|
||||
if (json_path_setup(&p, getCharset(funcParamPath), (const uchar*)sjsp.str(), (const uchar*)sjsp.end()))
|
||||
return true;
|
||||
|
||||
JSONEgWrapper je(getCharset(funcParamJS), reinterpret_cast<const uchar*>(js.str()), reinterpret_cast<const uchar*>(js.end()));
|
||||
JSONEgWrapper je(getCharset(funcParamJS), reinterpret_cast<const uchar*>(js.str()),
|
||||
reinterpret_cast<const uchar*>(js.end()));
|
||||
|
||||
currStep = p.steps;
|
||||
|
||||
@ -96,7 +96,7 @@ bool JSONPathWrapper::extract(std::string& ret, rowgroup::Row& row, execplan::SP
|
||||
}
|
||||
|
||||
CalpontSystemCatalog::ColType Func_json_value::operationType(FunctionParm& fp,
|
||||
CalpontSystemCatalog::ColType& resultType)
|
||||
CalpontSystemCatalog::ColType& /*resultType*/)
|
||||
{
|
||||
return fp[0]->data()->resultType();
|
||||
}
|
||||
@ -115,11 +115,10 @@ class JSONPathWrapperValue : public JSONPathWrapper
|
||||
{
|
||||
return je->checkAndGetScalar(res, error);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
string Func_json_value::getStrVal(rowgroup::Row& row, FunctionParm& fp, bool& isNull,
|
||||
execplan::CalpontSystemCatalog::ColType& type)
|
||||
execplan::CalpontSystemCatalog::ColType& /*type*/)
|
||||
{
|
||||
string ret;
|
||||
JSONPathWrapperValue pw;
|
||||
|
Reference in New Issue
Block a user