prune-trace: preserve existing data
With this change, prune-trace checks for existing fsppilot/fspgroup entries for each variant to be pruned, and skips the variant in this case. This safety measure can be switched off with --overwrite. Change-Id: I7e758a9853a25685ca176cf1a1810523753cdd4a
This commit is contained in:
@ -13,11 +13,14 @@ protected:
|
||||
std::string m_variants_sql;
|
||||
|
||||
public:
|
||||
bool init(fail::Database *db,
|
||||
void set_db(fail::Database *db) { this->db = db; }
|
||||
|
||||
bool init(
|
||||
const std::vector<std::string>& variants,
|
||||
const std::vector<std::string>& variants_exclude,
|
||||
const std::vector<std::string>& benchmarks,
|
||||
const std::vector<std::string>& benchmarks_exclude);
|
||||
const std::vector<std::string>& benchmarks_exclude,
|
||||
bool overwrite);
|
||||
|
||||
/**
|
||||
* Callback function that can be used to add command line options
|
||||
|
||||
Reference in New Issue
Block a user