aboutsummaryrefslogtreecommitdiff
path: root/db/memtable.cc
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-02-17 14:11:18 +0800
committerKunoiSayami <[email protected]>2022-02-17 14:11:18 +0800
commit74c563f94e4b02779465ead2b2dbce0db59e352a (patch)
tree64e747bfa7b46274a34b6c7787a7233ceafba846 /db/memtable.cc
parente98fc6bf301bb3bf38aab4ccce51edc16953024b (diff)
merge: Merge remote-tracking branch google/main@4fb1468
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'db/memtable.cc')
-rw-r--r--db/memtable.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/memtable.cc b/db/memtable.cc
index f42774d..4f09340 100644
--- a/db/memtable.cc
+++ b/db/memtable.cc
@@ -78,6 +78,7 @@ void MemTable::Add(SequenceNumber s, ValueType type, const Slice& key,
// Format of an entry is concatenation of:
// key_size : varint32 of internal_key.size()
// key bytes : char[internal_key.size()]
+ // tag : uint64((sequence << 8) | type)
// value_size : varint32 of value.size()
// value bytes : char[value.size()]
size_t key_size = key.size();