mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-08 11:07:58 +00:00
PT-96 Fixes for ChangeHandler & TableSync
This commit is contained in:
@@ -402,7 +402,6 @@ sub make_row {
|
||||
my $q = $self->{Quoter};
|
||||
my $type_for = $self->{tbl_struct}->{type_for};
|
||||
|
||||
# sorts here are just to make this sub testeable
|
||||
return "$verb INTO $self->{dst_db_tbl}("
|
||||
. join(', ', map { $q->quote($_) } @cols)
|
||||
. ') VALUES ('
|
||||
@@ -417,6 +416,7 @@ sub make_row {
|
||||
)
|
||||
} @cols)
|
||||
. ')';
|
||||
|
||||
}
|
||||
|
||||
# Sub: make_where_clause
|
||||
@@ -483,7 +483,7 @@ sub sort_cols {
|
||||
1;
|
||||
}
|
||||
}
|
||||
keys %$row;
|
||||
sort keys %$row;
|
||||
push @cols, @not_in_tbl if @not_in_tbl;
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user