mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 04:52:10 +00:00
String terminator: \n --> \0
This commit is contained in:
parent
df436b2cd4
commit
d5cfcdfae1
@ -70,7 +70,7 @@ public:
|
|||||||
memset(res_chars.begin() + pos, space, times);
|
memset(res_chars.begin() + pos, space, times);
|
||||||
pos += times;
|
pos += times;
|
||||||
|
|
||||||
*(res_chars.begin() + pos) = '\n';
|
*(res_chars.begin() + pos) = '\0';
|
||||||
pos += 1;
|
pos += 1;
|
||||||
|
|
||||||
res_offsets[i] = pos;
|
res_offsets[i] = pos;
|
||||||
@ -107,7 +107,7 @@ public:
|
|||||||
memset(res_chars.begin() + pos, space, times);
|
memset(res_chars.begin() + pos, space, times);
|
||||||
pos += times;
|
pos += times;
|
||||||
|
|
||||||
*(res_chars.begin() + pos) = '\n';
|
*(res_chars.begin() + pos) = '\0';
|
||||||
pos += 1;
|
pos += 1;
|
||||||
|
|
||||||
res_offsets[i] = pos;
|
res_offsets[i] = pos;
|
||||||
|
Loading…
Reference in New Issue
Block a user