PT-572 More tests fixed

This commit is contained in:
Carlos Salguero
2018-02-21 16:42:26 -03:00
parent 8943e0a9f6
commit ec25735ca4
9 changed files with 29 additions and 9 deletions

View File

@@ -5146,7 +5146,7 @@ sub watch_server {
if ( VersionParser->new($dbh) >= '5.6.5' && VersionParser->new($dbh) <= '10.0.0' ) {
my $row = $dbh->selectrow_arrayref('SELECT @@GLOBAL.gtid_mode');
PTDEBUG && _d('@@GLOBAL.gtid_mode:', $row->[0]);
if ( $row && $row->[0] eq 'ON' ) {
if ( $row && $row->[0] =~ m/^ON/ ) {
$have_gtid = 1;
}
}