mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Bug-fix
This commit is contained in:
parent
62fe4e21c1
commit
887a4da6b3
@ -98,6 +98,7 @@ UInt32 compressDataForType(const char * source, UInt32 source_size, char * dest)
|
|||||||
{
|
{
|
||||||
gcd_divider = boost::math::gcd(gcd_divider, unalignedLoad<T>(cur_source));
|
gcd_divider = boost::math::gcd(gcd_divider, unalignedLoad<T>(cur_source));
|
||||||
}
|
}
|
||||||
|
cur_source += sizeof(T);
|
||||||
}
|
}
|
||||||
|
|
||||||
unalignedStore<T>(dest, gcd_divider);
|
unalignedStore<T>(dest, gcd_divider);
|
||||||
|
Loading…
Reference in New Issue
Block a user