瀏覽代碼

Merge pull request #960 from ericuni:dedup

PiperOrigin-RevId: 420534594
ld
Victor Costan 2 年之前
父節點
當前提交
4db0eaccf1
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. +0
    -1
      db/version_set.cc

+ 0
- 1
db/version_set.cc 查看文件

@ -806,7 +806,6 @@ Status VersionSet::LogAndApply(VersionEdit* edit, port::Mutex* mu) {
// first call to LogAndApply (when opening the database).
assert(descriptor_file_ == nullptr);
new_manifest_file = DescriptorFileName(dbname_, manifest_file_number_);
edit->SetNextFile(next_file_number_);
s = env_->NewWritableFile(new_manifest_file, &descriptor_file_);
if (s.ok()) {
descriptor_log_ = new log::Writer(descriptor_file_);

Loading…
取消
儲存