diff options
-rw-r--r-- | db/memtable.cc | 1 | ||||
-rw-r--r-- | util/cache.cc | 2 |
2 files changed, 2 insertions, 1 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(); diff --git a/util/cache.cc b/util/cache.cc index ad1e9a2..fc3d154 100644 --- a/util/cache.cc +++ b/util/cache.cc @@ -54,7 +54,7 @@ struct LRUHandle { char key_data[1]; // Beginning of key Slice key() const { - // next_ is only equal to this if the LRU handle is the list head of an + // next is only equal to this if the LRU handle is the list head of an // empty list. List heads never have meaningful keys. assert(next != this); |