mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-28 08:51:44 +00:00
Merge branch '3.0' into issue-1651002
This commit is contained in:
@@ -353,7 +353,14 @@ sub _iterate_dbh {
|
||||
&& $self->_resume_from_table($tbl)
|
||||
&& $self->table_is_allowed($self->{db}, $tbl);
|
||||
}
|
||||
@{$dbh->selectall_arrayref($sql)};
|
||||
|
||||
eval { @{$dbh->selectall_arrayref($sql)}; };
|
||||
if ($EVAL_ERROR) {
|
||||
warn "Skipping $self->{db}...";
|
||||
$self->{db} = undef;
|
||||
next;
|
||||
}
|
||||
|
||||
PTDEBUG && _d('Found', scalar @tbls, 'tables in database',$self->{db});
|
||||
$self->{tbls} = \@tbls;
|
||||
}
|
||||
|
Reference in New Issue
Block a user