Explorar el Código

add:compact_pointers_ should be clear when Clear() called

xry
caodhuan hace 5 años
padre
commit
77e9dfad9f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      db/version_edit.cc

+ 1
- 0
db/version_edit.cc Ver fichero

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

Cargando…
Cancelar
Guardar