mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 21:03:51 +00:00
Style fix
This commit is contained in:
parent
f4ed3f5c6d
commit
cff7cbac94
@ -159,19 +159,19 @@ void WriteBufferValidUTF8::finalizeImpl()
|
||||
UInt8 len = length_of_utf8_sequence[static_cast<unsigned char>(*p)];
|
||||
if (p + len > pos)
|
||||
{
|
||||
// Incomplete sequence. Skip one byte.
|
||||
/// Incomplete sequence. Skip one byte.
|
||||
putReplacement();
|
||||
++p;
|
||||
}
|
||||
else if (Poco::UTF8Encoding::isLegal(reinterpret_cast<unsigned char *>(p), len))
|
||||
{
|
||||
// Valid sequence
|
||||
/// Valid sequence
|
||||
putValid(p, len);
|
||||
p += len;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invalid sequence, skip first byte.
|
||||
/// Invalid sequence, skip first byte.
|
||||
putReplacement();
|
||||
++p;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user