mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
clickhouse: fixed function hex [#CONV-6788].
This commit is contained in:
parent
e3b48d5324
commit
934566de4a
@ -263,6 +263,8 @@ public:
|
||||
if (byte == 0 && !was_nonzero && offset)
|
||||
continue;
|
||||
|
||||
was_nonzero = true;
|
||||
|
||||
*(out++) = digit[byte >> 4];
|
||||
*(out++) = digit[byte & 15];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user