mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-02-27 02:00:57 +08:00
Remove trailing spaces (#665)
* Remove trailing spaces * PR-665 - Remove trailing spaces - Updated not stable test t/pt-online-schema-change/preserve_triggers.t - Updated utilities in bin directory * PR-665 - Remove trailing spaces - Fixed typos * PR-665 - Remove trailing spaces - Fixed typos --------- Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com>
This commit is contained in:
@@ -116,7 +116,7 @@ sub set_src {
|
||||
}
|
||||
elsif ( lc $src eq 'right' ) {
|
||||
$self->{src_db_tbl} = $self->{right_db_tbl};
|
||||
$self->{dst_db_tbl} = $self->{left_db_tbl};
|
||||
$self->{dst_db_tbl} = $self->{left_db_tbl};
|
||||
}
|
||||
else {
|
||||
die "src argument must be either 'left' or 'right'"
|
||||
@@ -388,7 +388,7 @@ sub make_REPLACE {
|
||||
# A SQL statement
|
||||
sub make_row {
|
||||
my ( $self, $verb, $row, $cols ) = @_;
|
||||
my @cols;
|
||||
my @cols;
|
||||
if ( my $dbh = $self->{fetch_back} ) {
|
||||
my $where = $self->make_where_clause($row, $cols);
|
||||
my $sql = $self->make_fetch_back_query($where);
|
||||
@@ -474,7 +474,7 @@ sub get_changes {
|
||||
sub sort_cols {
|
||||
my ( $self, $row ) = @_;
|
||||
my @cols;
|
||||
if ( $self->{tbl_struct} ) {
|
||||
if ( $self->{tbl_struct} ) {
|
||||
my $pos = $self->{tbl_struct}->{col_posn};
|
||||
my @not_in_tbl;
|
||||
@cols = sort {
|
||||
|
||||
Reference in New Issue
Block a user