mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-26 19:50:51 +00:00
Fix expanding FixedString
This commit is contained in:
parent
3410f96495
commit
cf490dacd1
@ -358,7 +358,7 @@ void ColumnFixedString::expand(const IColumn::Filter & mask, bool reverse)
|
|||||||
if (from < 0)
|
if (from < 0)
|
||||||
throw Exception("Too many bytes in mask", ErrorCodes::LOGICAL_ERROR);
|
throw Exception("Too many bytes in mask", ErrorCodes::LOGICAL_ERROR);
|
||||||
|
|
||||||
memcpySmallAllowReadWriteOverflow15(&chars[from * n], &chars[index * n], n);
|
memcpy(&chars[index * n], &chars[from * n], n);
|
||||||
--from;
|
--from;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user