|
@ -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) { |
|
|
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; |
|
|
size_t slot_num; |
|
|
auto s = get_slot_num(ReadOptions(), key, &slot_num); |
|
|
auto s = get_slot_num(ReadOptions(), key, &slot_num); |
|
|
|
|
|
|
|
|