mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-07 21:09:14 +00:00
PT-2268 - pt-online-schema-change 3.5.5 breaks on mysql5.7 with server_id 0
- Better check if server_id is defined - Added test case
This commit is contained in:
@@ -235,7 +235,7 @@ sub recurse_to_slaves {
|
||||
die $EVAL_ERROR;
|
||||
}
|
||||
}
|
||||
} until ($id);
|
||||
} until (defined $id);
|
||||
PTDEBUG && _d('Working on server ID', $id);
|
||||
my $master_thinks_i_am = $dsn->{server_id};
|
||||
if ( !defined $id
|
||||
|
Reference in New Issue
Block a user