瀏覽代碼

add:compact_pointers_ should be clear when Clear() called

master
caodhuan 6 年之前
父節點
當前提交
77e9dfad9f
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      db/version_edit.cc

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

@ -34,6 +34,7 @@ void VersionEdit::Clear() {
has_prev_log_number_ = false;
has_next_file_number_ = false;
has_last_sequence_ = false;
compact_pointers_.clear();
deleted_files_.clear();
new_files_.clear();
}

Loading…
取消
儲存