BUG-1595678 Updated MasterSlave lib into binaries

Also updated a 'SHOW PROCESSLIST' to 'SHOW FULL PROCESSLIST' because
pt-kill needs more than 100 chars in the info field.
This commit is contained in:
Carlos Salguero
2016-07-06 20:41:42 -03:00
parent 2c1db036b5
commit 26cf65015c
10 changed files with 204 additions and 131 deletions

View File

@@ -352,7 +352,7 @@ sub get_connected_slaves {
die "You do not have the PROCESS privilege";
}
$sql = 'SHOW PROCESSLIST';
$sql = 'SHOW FULL PROCESSLIST';
PTDEBUG && _d($dbh, $sql);
# It's probably a slave if it's doing a binlog dump.
grep { $_->{command} =~ m/Binlog Dump/i }