mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Update encodeXML.cpp
This commit is contained in:
parent
b96316f0c4
commit
e00b99ffe9
@ -26,6 +26,7 @@ namespace
|
||||
ColumnString::Chars & res_data,
|
||||
ColumnString::Offsets & res_offsets)
|
||||
{
|
||||
/// 6 is the maximum size amplification (the maximum length of encoded entity: ")
|
||||
res_data.resize(data.size() * 6);
|
||||
size_t size = offsets.size();
|
||||
res_offsets.resize(size);
|
||||
|
Loading…
Reference in New Issue
Block a user