From c4370886b05867965e3bcb2e44e09c605abebb93 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Mon, 23 Mar 2020 23:59:36 +0300 Subject: [PATCH] Update weak hash. --- dbms/src/Common/HashTable/Hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Common/HashTable/Hash.h b/dbms/src/Common/HashTable/Hash.h index 19c8c66cf0c..2437f6b86cc 100644 --- a/dbms/src/Common/HashTable/Hash.h +++ b/dbms/src/Common/HashTable/Hash.h @@ -130,7 +130,7 @@ inline UInt32 updateWeakHash32(const DB::UInt8 * pos, size_t size, DB::UInt32 up __builtin_unreachable(); } - value |= size; + value_ptr[7] = size; return intHashCRC32(value, updated_value); }