mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +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);
|
||||
pos += times;
|
||||
|
||||
*(res_chars.begin() + pos) = '\n';
|
||||
*(res_chars.begin() + pos) = '\0';
|
||||
pos += 1;
|
||||
|
||||
res_offsets[i] = pos;
|
||||
@ -107,7 +107,7 @@ public:
|
||||
memset(res_chars.begin() + pos, space, times);
|
||||
pos += times;
|
||||
|
||||
*(res_chars.begin() + pos) = '\n';
|
||||
*(res_chars.begin() + pos) = '\0';
|
||||
pos += 1;
|
||||
|
||||
res_offsets[i] = pos;
|
||||
|
Loading…
Reference in New Issue
Block a user