From 5a95a33e309d0b2c6bc0f938ad925e3f74b0f921 Mon Sep 17 00:00:00 2001 From: Julius Goryavsky Date: Thu, 18 Jul 2019 11:39:57 +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 e5b582c686b..40ac09cac96 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -441,6 +441,7 @@ sub check_garbd_support() { } sub check_wsrep_support() { + $garbd_exe= ""; if (have_wsrep()) { mtr_report(" - binaries built with wsrep patch");