From 10770bc92117dc1cc7f03fc85bfeab21a60ed360 Mon Sep 17 00:00:00 2001 From: Alexey Arno Date: Fri, 16 Sep 2016 21:47:46 +0300 Subject: [PATCH] dbms: Server: Fixed typo. [#METR-19266] --- dbms/include/DB/Interpreters/AggregationCommon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/include/DB/Interpreters/AggregationCommon.h b/dbms/include/DB/Interpreters/AggregationCommon.h index 774fc830e11..8dd7c0e9c27 100644 --- a/dbms/include/DB/Interpreters/AggregationCommon.h +++ b/dbms/include/DB/Interpreters/AggregationCommon.h @@ -127,7 +127,7 @@ static inline T ALWAYS_INLINE packFixed( for (size_t j = 0; j < keys_size; ++j) { - bool is_null = has_bitmap && (bitmap[j % 8] & (UINT8_C(1) << (j % 8))); + bool is_null = has_bitmap && (bitmap[j / 8] & (UINT8_C(1) << (j % 8))); if (is_null) continue;