mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 07:30:02 +00:00
Merge pull request #8 from percona/pt-archiver-purge-no-delete-mutual-exclusion-lp1452914
pt-archiver purge and no-delete are mutually exclusive - lp1452914
This commit is contained in:
@@ -5564,6 +5564,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