Selaa lähdekoodia

update original get

baseline
ArcueidType 8 kuukautta sitten
vanhempi
commit
c6783d62f1
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. +2
    -0
      db/db_impl.cc

+ 2
- 0
db/db_impl.cc Näytä tiedosto

@ -1153,6 +1153,8 @@ Status DBImpl::Get(const ReadOptions& options, const Slice& key,
s = current->Get(options, lkey, value, &stats); s = current->Get(options, lkey, value, &stats);
have_stat_update = true; have_stat_update = true;
} }
auto fields = Fields(Slice(*value));
*value = fields["1"];
mutex_.Lock(); mutex_.Lock();
} }

Ladataan…
Peruuta
Tallenna