mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-01 18:25:59 +00:00
Update bin/pt-online-schema-change
This commit is contained in:
@@ -9608,7 +9608,13 @@ sub main {
|
||||
# doesn't match '(?-xism:Failed to find a unique new table name)'
|
||||
|
||||
my $original_error = $EVAL_ERROR;
|
||||
my $original_error_code = $? ? $? : $!;
|
||||
my $original_error_code;
|
||||
if ( $? ) {
|
||||
$original_error_code = $?;
|
||||
}
|
||||
else {
|
||||
$original_error_code = $!;
|
||||
}
|
||||
|
||||
$SIG{__DIE__} = 'DEFAULT';
|
||||
|
||||
|
Reference in New Issue
Block a user