Fix bug in countBytesInFilterWithNull

This commit is contained in:
Raúl Marín 2021-08-30 13:35:22 +02:00
parent d0f8e2d063
commit 7fb57482c0

View File

@ -85,7 +85,7 @@ size_t countBytesInFilterWithNull(const IColumn::Filter & filt, const UInt8 * nu
/// TODO Add duff device for tail?
#endif
for (; pos < end; ++pos)
for (; pos < end; ++pos, ++pos2)
count += (*pos & ~*pos2) != 0;
return count;