Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mock request #1151

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions include/leveldb/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class LEVELDB_EXPORT Cache {
// underlying entry will be kept around until all existing handles
// to it have been released.
virtual void Erase(const Slice& key) = 0;
virtual void AddSome(const Entity& value) = 0;

// Return a new numeric id. May be used by multiple clients who are
// sharing the same cache to partition the key space. Typically the
Expand Down
2 changes: 1 addition & 1 deletion include/leveldb/comparator.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class LEVELDB_EXPORT Comparator {
// < 0 iff "a" < "b",
// == 0 iff "a" == "b",
// > 0 iff "a" > "b"
virtual int Compare(const Slice& a, const Slice& b) const = 0;
virtual int Compare(const Slice& a, const Slice& c) const = 0;

// The name of the comparator. Used to check for comparator
// mismatches (i.e., a DB created with one comparator is
Expand Down