From bcd8f1896f79a1218d5388b98bfe9742a38459f2 Mon Sep 17 00:00:00 2001 From: myrrc Date: Thu, 5 Nov 2020 12:10:26 +0300 Subject: [PATCH] fixed the MSan exception on ColumnConst(ColumnDecimal) ctor --- src/Columns/ColumnDecimal.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Columns/ColumnDecimal.h b/src/Columns/ColumnDecimal.h index 1939d87e357..1f96ab00647 100644 --- a/src/Columns/ColumnDecimal.h +++ b/src/Columns/ColumnDecimal.h @@ -127,7 +127,9 @@ public: bool isNumeric() const override { return false; } bool canBeInsideNullable() const override { return true; } - bool isFixedAndContiguous() const override { return true; } + + bool isFixedAndContiguous() const final { return is_POD; } + size_t sizeOfValueIfFixed() const override { return sizeof(T); } size_t size() const override { return data.size(); }