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
MCOL-5437 Fixes to follow the charset_info api change introduced by MDEV-30661
This commit is contained in:
committed by
Gagan Goel
parent
3364ceb2f0
commit
e6e74c0be7
@ -53,7 +53,11 @@ std::string Func_lcase::getStrVal(rowgroup::Row& row, FunctionParm& fp, bool& is
|
||||
|
||||
CHARSET_INFO* cs = colType.getCharset();
|
||||
uint64_t inLen = tstr.length();
|
||||
#if MYSQL_VERSION_ID >= 101004
|
||||
uint64_t bufLen = inLen * cs->casedn_multiply();
|
||||
#else
|
||||
uint64_t bufLen = inLen * cs->casedn_multiply;
|
||||
#endif
|
||||
char* outBuf = new char[bufLen];
|
||||
|
||||
uint64_t outLen = cs->casedn(tstr.str(), inLen, outBuf, bufLen);
|
||||
|
Reference in New Issue
Block a user