mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-27 16:12:04 +00:00
PT-157 Specifying the index to use for pt-archiver ignores --primary-key-only
This commit is contained in:
@@ -6347,7 +6347,7 @@ sub main {
|
||||
$del_stmt = $nibbler->generate_del_stmt(
|
||||
tbl_struct => $src->{info},
|
||||
cols => \@sel_cols,
|
||||
index => $src->{i},
|
||||
index => $o->get('primary-key-only') ? 'PRIMARY' : $src->{i},
|
||||
);
|
||||
@del_slice = @{$del_stmt->{slice}};
|
||||
|
||||
|
Reference in New Issue
Block a user