Set the garbd_exe variable to empty string to avoid warning about an uninitialized variable when wsrep_provider is not initialized correctly, set to 'none' or when wsrep is switched off

This commit is contained in:
Julius Goryavsky 2019-07-18 11:39:57 +02:00
parent f5390eea9a
commit 5a95a33e30

View file

@ -441,6 +441,7 @@ sub check_garbd_support() {
}
sub check_wsrep_support() {
$garbd_exe= "";
if (have_wsrep()) {
mtr_report(" - binaries built with wsrep patch");