From a842387fef94568f1fcae71f79245d33bcc7f5f0 Mon Sep 17 00:00:00 2001 From: Julius Goryavsky Date: Thu, 18 Jul 2019 11:39:05 +0200 Subject: [PATCH] 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 --- mysql-test/mysql-test-run.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index d10c7730732..bd1034adfe1 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -438,6 +438,7 @@ sub check_garbd_support() { } sub check_wsrep_support() { + $garbd_exe= ""; if (have_wsrep()) { mtr_report(" - binaries built with wsrep patch");