1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Merge pull request #1317 from dhall-MariaDB/MCOL-4125

MCOL-4125 CHAR must ignore NULL parameters
This commit is contained in:
Patrick LeBlanc
2020-06-30 10:56:45 -05:00
committed by GitHub

View File

@ -163,7 +163,7 @@ string Func_char::getStrVal(Row& row,
numBytes += getChar(value, pBuf);
}
isNull = false;
/* Check whether we got a well-formed string */
MY_STRCOPY_STATUS status;
int32_t actualBytes = cs->well_formed_char_length(buf, buf + numBytes, numBytes, &status);