mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-27 16:12:04 +00:00
PT-96 Made TableSyncer testeable
This commit is contained in:
@@ -222,8 +222,8 @@ sub __queue {
|
|||||||
if ( $self->{replace} ) {
|
if ( $self->{replace} ) {
|
||||||
$action = $action eq 'DELETE' ? $action : 'REPLACE';
|
$action = $action eq 'DELETE' ? $action : 'REPLACE';
|
||||||
}
|
}
|
||||||
# The sort in this line is just to make it teasteable
|
@$cols = sort(@$cols);
|
||||||
push @{$self->{$action}}, [ $row, \sort(@$cols), $dbh ];
|
push @{$self->{$action}}, [ $row, $cols, $dbh ];
|
||||||
}
|
}
|
||||||
|
|
||||||
# Sub: process_rows
|
# Sub: process_rows
|
||||||
|
Reference in New Issue
Block a user