mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Fix tests
This commit is contained in:
parent
5e4cda02b6
commit
568e27e9b3
@ -212,7 +212,9 @@ struct BinaryOperation
|
|||||||
if (right_nullmap)
|
if (right_nullmap)
|
||||||
{
|
{
|
||||||
for (size_t i = 0; i < size; ++i)
|
for (size_t i = 0; i < size; ++i)
|
||||||
if (!(*right_nullmap)[i])
|
if ((*right_nullmap)[i])
|
||||||
|
c[i] = ResultType();
|
||||||
|
else
|
||||||
apply<op_case>(a, b, c, i);
|
apply<op_case>(a, b, c, i);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -40,7 +40,9 @@ struct DivideIntegralByConstantImpl
|
|||||||
if (right_nullmap)
|
if (right_nullmap)
|
||||||
{
|
{
|
||||||
for (size_t i = 0; i < size; ++i)
|
for (size_t i = 0; i < size; ++i)
|
||||||
if (!(*right_nullmap)[i])
|
if ((*right_nullmap)[i])
|
||||||
|
c[i] = ResultType();
|
||||||
|
else
|
||||||
apply<op_case>(a, b, c, i);
|
apply<op_case>(a, b, c, i);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -43,7 +43,9 @@ struct ModuloByConstantImpl
|
|||||||
if (right_nullmap)
|
if (right_nullmap)
|
||||||
{
|
{
|
||||||
for (size_t i = 0; i < size; ++i)
|
for (size_t i = 0; i < size; ++i)
|
||||||
if (!(*right_nullmap)[i])
|
if ((*right_nullmap)[i])
|
||||||
|
c[i] = ResultType();
|
||||||
|
else
|
||||||
apply<op_case>(a, b, c, i);
|
apply<op_case>(a, b, c, i);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user