Browse Source

remove TODO in Version::ForEachOverlapping

main
neal-zhu 5 years ago
parent
commit
f668239bb2
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      db/version_set.cc

+ 0
- 1
db/version_set.cc View File

@ -281,7 +281,6 @@ static bool NewestFirst(FileMetaData* a, FileMetaData* b) {
void Version::ForEachOverlapping(Slice user_key, Slice internal_key, void* arg, void Version::ForEachOverlapping(Slice user_key, Slice internal_key, void* arg,
bool (*func)(void*, int, FileMetaData*)) { bool (*func)(void*, int, FileMetaData*)) {
// TODO(sanjay): Change Version::Get() to use this function.
const Comparator* ucmp = vset_->icmp_.user_comparator(); const Comparator* ucmp = vset_->icmp_.user_comparator();
// Search level-0 in order from newest to oldest. // Search level-0 in order from newest to oldest.

Loading…
Cancel
Save