mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-03-15 02:00:03 +08:00
Add missing if to the resume code
This commit is contained in:
@@ -13841,7 +13841,9 @@ sub main {
|
||||
$args->{input_fh} = $fh;
|
||||
$args->{tell} = sub {
|
||||
my $pos = tell $fh;
|
||||
$args->{pos_for}->{$args->{filename}} = $pos;
|
||||
if ( $args->{filename} ) {
|
||||
$args->{pos_for}->{$args->{filename}} = $pos;
|
||||
}
|
||||
return $pos;
|
||||
};
|
||||
$args->{more_events} = 1;
|
||||
|
||||
Reference in New Issue
Block a user