PT-1707 IPV6 support for recursion method processlist

This commit is contained in:
Carlos Salguero
2019-04-11 17:44:17 -03:00
parent a9eeeb6fb1
commit a97e24be71
22 changed files with 65 additions and 52 deletions

View File

@@ -271,7 +271,7 @@ sub _find_slaves_by_processlist {
}
grep { $_ }
map {
my ( $host ) = $_->{host} =~ m/^([^:]+):/;
my ( $host ) = $_->{host} =~ m/^(.*):\d+$/;
if ( $host eq 'localhost' ) {
$host = '127.0.0.1'; # Replication never uses sockets.
}

View File

@@ -18,7 +18,7 @@
# ###########################################################################
package Percona::Toolkit;
our $VERSION = '3.0.13';
our $VERSION = '3.0.14-dev';
use strict;
use warnings FATAL => 'all';