diff --git a/dbms/src/Functions/FunctionsStringSearch.cpp b/dbms/src/Functions/FunctionsStringSearch.cpp index d0be619bbb9..df32f50f005 100644 --- a/dbms/src/Functions/FunctionsStringSearch.cpp +++ b/dbms/src/Functions/FunctionsStringSearch.cpp @@ -989,15 +989,15 @@ struct ReplaceRegexpImpl } static void vectorFixed(const ColumnString::Chars_t & data, - size_t n, - const std::string & needle, - const std::string & replacement, - const Int64 & pos, - const Int64 & occ, - const std::string & match_type, - std::shared_ptr collator, - ColumnString::Chars_t & res_data, - ColumnString::Offsets & res_offsets) + size_t n, + const std::string & needle, + const std::string & replacement, + const Int64 & pos, + const Int64 & occ, + const std::string & match_type, + std::shared_ptr collator, + ColumnString::Chars_t & res_data, + ColumnString::Offsets & res_offsets) { ColumnString::Offset res_offset = 0; size_t size = data.size() / n; @@ -1383,15 +1383,15 @@ struct ReplaceStringImpl /// Note: this function converts fixed-length strings to variable-length strings /// and each variable-length string should ends with zero byte. static void vectorFixed(const ColumnString::Chars_t & data, - size_t n, - const std::string & needle, - const std::string & replacement, - const Int64 & /* pos */, - const Int64 & /* occ */, - const std::string & /* match_type */, - std::shared_ptr /* collator */, - ColumnString::Chars_t & res_data, - ColumnString::Offsets & res_offsets) + size_t n, + const std::string & needle, + const std::string & replacement, + const Int64 & /* pos */, + const Int64 & /* occ */, + const std::string & /* match_type */, + std::shared_ptr /* collator */, + ColumnString::Chars_t & res_data, + ColumnString::Offsets & res_offsets) { const UInt8 * begin = &data[0]; const UInt8 * pos = begin;