diff --git a/db/db_impl.h b/db/db_impl.h index 3c8788e137..f1559f21c9 100644 --- a/db/db_impl.h +++ b/db/db_impl.h @@ -179,6 +179,12 @@ class DBImpl : public DB { // the current manifest_file_number, log_number and prev_log_number // that corresponds to the set of files in 'live'. uint64_t manifest_file_number, log_number, prev_log_number; + + DeletionState() { + manifest_file_number = 0; + log_number = 0; + prev_log_number = 0; + } }; // Delete any unneeded files and stale in-memory entries.