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