mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 05:29:30 +00:00
Update modules in pt-online-schema-change.
This commit is contained in:
@@ -4514,6 +4514,8 @@ sub _next_boundaries {
|
||||
else {
|
||||
PTDEBUG && _d('End of table boundary:', Dumper($boundary->[0]));
|
||||
$self->{no_more_boundaries} = 1; # for next call
|
||||
|
||||
$self->{last_upper} = $boundary->[0];
|
||||
}
|
||||
}
|
||||
else {
|
||||
@@ -4521,6 +4523,8 @@ sub _next_boundaries {
|
||||
$self->{upper} = $dbh->selectrow_arrayref($self->{last_ub_sql});
|
||||
PTDEBUG && _d('Last upper boundary:', Dumper($self->{upper}));
|
||||
$self->{no_more_boundaries} = 1; # for next call
|
||||
|
||||
$self->{last_upper} = $self->{upper};
|
||||
}
|
||||
$self->{ub_sth}->finish();
|
||||
|
||||
|
Reference in New Issue
Block a user