Browse Source

update original get

baseline
ArcueidType 5 months ago
parent
commit
c6783d62f1
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      db/db_impl.cc

+ 2
- 0
db/db_impl.cc View File

@ -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();
} }

||||||
x
 
000:0
Loading…
Cancel
Save