Fix expanding FixedString

This commit is contained in:
Pavel Kruglov 2021-04-28 14:01:58 +03:00
parent 3410f96495
commit cf490dacd1

View File

@ -358,7 +358,7 @@ void ColumnFixedString::expand(const IColumn::Filter & mask, bool reverse)
if (from < 0)
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;
}