You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4099 fix range check
This commit is contained in:
@ -84,7 +84,7 @@ std::string Func_insert::getStrVal(rowgroup::Row& row,
|
||||
int64_t strLen = cs->numchars(pos, end);
|
||||
|
||||
// Return the original string if start isn't within the string.
|
||||
if ((start < 0) || start > strLen)
|
||||
if ((start < 0) || start >= strLen)
|
||||
return src;
|
||||
|
||||
if ((length < 0) || (length > strLen))
|
||||
|
Reference in New Issue
Block a user