From 0344978634e79cf10408ce8a90ceaddb992563d1 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Fri, 20 Mar 2020 20:28:45 +0300 Subject: [PATCH] Fix weakHash --- dbms/src/Columns/tests/gtest_weak_hash_32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Columns/tests/gtest_weak_hash_32.cpp b/dbms/src/Columns/tests/gtest_weak_hash_32.cpp index 0d8fca14243..394e207f0b1 100644 --- a/dbms/src/Columns/tests/gtest_weak_hash_32.cpp +++ b/dbms/src/Columns/tests/gtest_weak_hash_32.cpp @@ -297,7 +297,7 @@ TEST(WeakHash32, ColumnFixedString) { data.push_back(i); size_t s = (i % max_size) + 1; - std::string str(letter, s); + std::string str(s, letter); col->insertData(str.data(), str.size()); if (s == max_size)