You've already forked mariadb-columnstore-engine
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:
committed by
Leonid Fedorov
parent
9fd7f342a7
commit
a0bee173f6
@ -36,7 +36,7 @@ using namespace joblist;
|
||||
namespace funcexp
|
||||
{
|
||||
CalpontSystemCatalog::ColType Func_left::operationType(FunctionParm& fp,
|
||||
CalpontSystemCatalog::ColType& resultType)
|
||||
CalpontSystemCatalog::ColType& /*resultType*/)
|
||||
{
|
||||
// operation type is not used by this functor
|
||||
return fp[0]->data()->resultType();
|
||||
@ -48,7 +48,7 @@ std::string Func_left::getStrVal(rowgroup::Row& row, FunctionParm& fp, bool& isN
|
||||
CHARSET_INFO* cs = type.getCharset();
|
||||
// The original string
|
||||
const auto& src = fp[0]->data()->getStrVal(row, isNull);
|
||||
if (isNull || src.length() < 1) // null or empty string.
|
||||
if (isNull || src.length() < 1) // null or empty string.
|
||||
return "";
|
||||
// binLen represents the number of bytes in src
|
||||
size_t binLen = src.length();
|
||||
|
Reference in New Issue
Block a user