mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Fix weakHash
This commit is contained in:
parent
75192d44aa
commit
0344978634
@ -297,7 +297,7 @@ TEST(WeakHash32, ColumnFixedString)
|
|||||||
{
|
{
|
||||||
data.push_back(i);
|
data.push_back(i);
|
||||||
size_t s = (i % max_size) + 1;
|
size_t s = (i % max_size) + 1;
|
||||||
std::string str(letter, s);
|
std::string str(s, letter);
|
||||||
col->insertData(str.data(), str.size());
|
col->insertData(str.data(), str.size());
|
||||||
|
|
||||||
if (s == max_size)
|
if (s == max_size)
|
||||||
|
Loading…
Reference in New Issue
Block a user