make mvcc impl compile with new key module

Signed-off-by: Alex Chi <iskyzh@gmail.com>
This commit is contained in:
Alex Chi
2024-01-25 12:27:16 +08:00
committed by Alex Chi Z
parent 753e6d4f9e
commit 971d0b1c81
11 changed files with 96 additions and 62 deletions

View File

@@ -41,7 +41,7 @@ impl SsTableBuilder {
self.first_key.set_from_slice(key);
}
self.key_hashes.push(farmhash::fingerprint32(key.raw_ref()));
self.key_hashes.push(farmhash::fingerprint32(key.key_ref()));
if self.builder.add(key, value) {
self.last_key.set_from_slice(key);