Changed eval { .. } do { ... } to eval { ... }; if ($EVAL_ERROR) { ... }

This commit is contained in:
Brian Fraser
2012-08-24 20:15:38 -03:00
parent 94a5d85212
commit 61341a8400

View File

@@ -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(