提交 2e8d42a1 编写于 作者: A Alexey Milovidov

Additions to prev. revision

上级 724be6d0
...@@ -182,14 +182,14 @@ private: ...@@ -182,14 +182,14 @@ private:
const auto & pos = pos_col->getData(); const auto & pos = pos_col->getData();
for (const auto i : ext::range(0, mask.size())) for (const auto i : ext::range(0, mask.size()))
mask[i] = mask[i] | (PosType(1) << pos[i]); mask[i] = mask[i] | (UInt64(1) << pos[i]);
return true; return true;
} }
else if (const auto pos_col_const = checkAndGetColumnConst<ColumnVector<PosType>>(pos_col_untyped)) else if (const auto pos_col_const = checkAndGetColumnConst<ColumnVector<PosType>>(pos_col_untyped))
{ {
const auto & pos = pos_col_const->template getValue<PosType>(); const auto & pos = pos_col_const->template getValue<PosType>();
const auto new_mask = PosType(1) << pos; const auto new_mask = UInt64(1) << pos;
for (const auto i : ext::range(0, mask.size())) for (const auto i : ext::range(0, mask.size()))
mask[i] = mask[i] | new_mask; mask[i] = mask[i] | new_mask;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册