mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-25 05:44:59 +00:00
pt-archiver purge and no-delete are mutually exclusive - lp1452914
This commit is contained in:
@@ -5559,6 +5559,9 @@ sub main {
|
||||
if ( $bulk_del && $limit < 2 ) {
|
||||
$o->save_error("--bulk-delete is meaningless with --limit 1");
|
||||
}
|
||||
if ( $o->got('purge') && $o->got('no-delete') ) {
|
||||
$o->save_error("--purge and --no-delete are mutually exclusive");
|
||||
}
|
||||
}
|
||||
|
||||
if ( $bulk_del || $o->get('bulk-insert') ) {
|
||||
|
Reference in New Issue
Block a user