mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
fix escape function
This commit is contained in:
parent
1104f218aa
commit
421c842a87
@ -217,7 +217,7 @@ ColumnPtr ExtractKeyValuePairs::escape(RawColumns & raw_columns, char escape_cha
|
|||||||
auto escaped_keys = ColumnString::create();
|
auto escaped_keys = ColumnString::create();
|
||||||
auto escaped_values = ColumnString::create();
|
auto escaped_values = ColumnString::create();
|
||||||
|
|
||||||
auto escape_character_string = std::string('1', escape_character);
|
auto escape_character_string = std::string(1, escape_character);
|
||||||
|
|
||||||
using ReplaceString = ReplaceStringImpl<ReplaceStringTraits::Replace::All>;
|
using ReplaceString = ReplaceStringImpl<ReplaceStringTraits::Replace::All>;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user