Browse Source

Merge remote-tracking branch 'origin/master'

master
马也驰 8 months ago
parent
commit
c0780f8d7d
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      db/db_impl.cc

+ 0
- 6
db/db_impl.cc View File

@ -1294,12 +1294,6 @@ Status DBImpl::Put(const WriteOptions& o, const Slice& key, const Slice& val) {
}
Status DBImpl::Delete(const WriteOptions& options, const Slice& key) {
// size_t slot_num = *(size_t *)value->c_str();
// struct slot_content sc;
// std::string vlog_value;
// slot_page_->get_slot(slot_num, &sc);
// vlog_set_->get_value(sc.vlog_num, sc.value_offset, &vlog_value);
// *value = vlog_value;
size_t slot_num;
auto s = get_slot_num(ReadOptions(), key, &slot_num);

Loading…
Cancel
Save