Browse Source

add:compact_pointers_ should be clear when Clear() called

main
caodhuan 6 years ago
parent
commit
77e9dfad9f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      db/version_edit.cc

+ 1
- 0
db/version_edit.cc View File

@ -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…
Cancel
Save