MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getHash

Method getHash

src/Common/TransactionID.cpp:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7{
8
9TIDHash TransactionID::getHash() const
10{
11 SipHash hash;
12 hash.update(start_csn);
13 hash.update(local_tid);
14 hash.update(host_id);
15 return hash.get64();
16}
17
18
19void TransactionID::write(const TransactionID & tid, WriteBuffer & buf)

Calls 2

updateMethod · 0.45
get64Method · 0.45

Tested by

no test coverage detected