1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Fix gcc-13 warning and add support for building Fedora (#2845)

This commit is contained in:
Leonid Fedorov
2023-05-26 16:30:53 +03:00
committed by GitHub
parent a90535e1a7
commit f18c556311
2 changed files with 19 additions and 12 deletions

View File

@ -243,7 +243,8 @@ inline bool getBool(rowgroup::Row& row, funcexp::FunctionParm& pm, bool& isNull,
case execplan::CalpontSystemCatalog::TEXT:
{
const string& val = pm[0]->data()->getStrVal(row, isNull).safeString("");
CHARSET_INFO& cs = datatypes::Charset(ct.charsetNumber).getCharset();
auto charset = datatypes::Charset(ct.charsetNumber);
CHARSET_INFO& cs = charset.getCharset();
if (notBetween)
{