mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Correct a line commented out by mistake
This commit is contained in:
parent
51e2c58a53
commit
967be3e13c
@ -398,7 +398,7 @@ static void transformUUID(const UUID & src_uuid, UUID & dst_uuid, UInt64 seed)
|
|||||||
hash.update(reinterpret_cast<const char *>(&src), sizeof(UUID));
|
hash.update(reinterpret_cast<const char *>(&src), sizeof(UUID));
|
||||||
|
|
||||||
/// Saving version and variant from an old UUID
|
/// Saving version and variant from an old UUID
|
||||||
// hash.get128Impl(reinterpret_cast<char *>(&dst));
|
dst = hash.get128();
|
||||||
|
|
||||||
dst.items[1] = (dst.items[1] & 0x1fffffffffffffffull) | (src.items[1] & 0xe000000000000000ull);
|
dst.items[1] = (dst.items[1] & 0x1fffffffffffffffull) | (src.items[1] & 0xe000000000000000ull);
|
||||||
dst.items[0] = (dst.items[0] & 0xffffffffffff0fffull) | (src.items[0] & 0x000000000000f000ull);
|
dst.items[0] = (dst.items[0] & 0xffffffffffff0fffull) | (src.items[0] & 0x000000000000f000ull);
|
||||||
|
Loading…
Reference in New Issue
Block a user