Sfoglia il codice sorgente

remove TODO in Version::ForEachOverlapping

main
neal-zhu 5 anni fa
parent
commit
f668239bb2
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. +0
    -1
      db/version_set.cc

+ 0
- 1
db/version_set.cc Vedi File

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

Caricamento…
Annulla
Salva