ignore galera check when wsrep_on = 0 #353

This commit is contained in:
Jean-Marie Renouard 2018-11-26 13:41:36 +00:00
parent 87eb96a485
commit 177c9f6695

View file

@ -5183,7 +5183,10 @@ sub mariadb_galera {
debugprint "\t" . trim($gvar) . " = " . $myvar{$gvar};
$result{'Galera'}{'variables'}{$gvar} = $myvar{$gvar};
}
if ( not defined( $myvar{'wsrep_on'} ) or $myvar{'wsrep_on'} ne "ON" ) {
infoprint "Galera is disabled.";
return;
}
debugprint "Galera wsrep provider Options:";
my @galera_options = get_wsrep_options;
$result{'Galera'}{'wsrep options'} = get_wsrep_options();