mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Merge pull request #53891 from ClibMouse/feature/uint128-hash-big-endian
Make UInt128TrivialHash endianness-independent
This commit is contained in:
commit
ea7f583708
@ -402,7 +402,7 @@ struct UInt128HashCRC32 : public UInt128Hash {};
|
||||
|
||||
struct UInt128TrivialHash
|
||||
{
|
||||
size_t operator()(UInt128 x) const { return x.items[0]; }
|
||||
size_t operator()(UInt128 x) const { return x.items[UInt128::_impl::little(0)]; }
|
||||
};
|
||||
|
||||
struct UUIDTrivialHash
|
||||
|
Loading…
Reference in New Issue
Block a user