mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fix tests
This commit is contained in:
parent
5e4cda02b6
commit
568e27e9b3
@ -212,7 +212,9 @@ struct BinaryOperation
|
||||
if (right_nullmap)
|
||||
{
|
||||
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);
|
||||
}
|
||||
else
|
||||
|
@ -40,7 +40,9 @@ struct DivideIntegralByConstantImpl
|
||||
if (right_nullmap)
|
||||
{
|
||||
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);
|
||||
}
|
||||
else
|
||||
|
@ -43,7 +43,9 @@ struct ModuloByConstantImpl
|
||||
if (right_nullmap)
|
||||
{
|
||||
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);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user