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

MCOL-4125 CHAR must ignore NULL parameters

This commit is contained in:
David Hall
2020-06-29 11:41:59 -05:00
parent 960c07a647
commit 1d9b9a1bc8

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);