core: add --db-salvage command line flag
Use to load the database when the primary meta page is corrupted
This commit is contained in:
@@ -214,6 +214,7 @@ namespace command_line
|
||||
extern const arg_descriptor<bool> arg_dns_checkpoints;
|
||||
extern const arg_descriptor<std::string> arg_db_type;
|
||||
extern const arg_descriptor<std::string> arg_db_sync_mode;
|
||||
extern const arg_descriptor<bool, false> arg_db_salvage;
|
||||
extern const arg_descriptor<uint64_t> arg_fast_block_sync;
|
||||
extern const arg_descriptor<uint64_t> arg_prep_blocks_threads;
|
||||
extern const arg_descriptor<uint64_t> arg_show_time_stats;
|
||||
|
||||
Reference in New Issue
Block a user