mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-13 01:03:28 +08:00
Changed eval { .. } do { ... } to eval { ... }; if ($EVAL_ERROR) { ... }
This commit is contained in:
@@ -7772,11 +7772,14 @@ sub main {
|
||||
tbl => $tbl,
|
||||
%crc_args
|
||||
);
|
||||
} or do {
|
||||
warn ts("Skipping table $tbl->{db}.$tbl->{tbl} because "
|
||||
. "$EVAL_ERROR\n");
|
||||
return;
|
||||
};
|
||||
|
||||
if ( $EVAL_ERROR ) {
|
||||
warn ts("Skipping table $tbl->{db}.$tbl->{tbl} because "
|
||||
. "$EVAL_ERROR\n");
|
||||
return;
|
||||
}
|
||||
|
||||
my $nibble_iter;
|
||||
eval {
|
||||
$nibble_iter = new OobNibbleIterator(
|
||||
|
||||
Reference in New Issue
Block a user