diff options
author | Julius Goryavsky <julius.goryavsky@mariadb.com> | 2019-07-18 11:37:01 +0200 |
---|---|---|
committer | Julius Goryavsky <julius.goryavsky@mariadb.com> | 2019-07-18 11:37:01 +0200 |
commit | 26b594e4110b4f7e6f2bcfbdb4c87aef65652bc0 (patch) | |
tree | 7db0774b9f6406133a4d6013914e6a70376167e9 | |
parent | 4e02e502f6f9622a84942fd3329241e790acab66 (diff) | |
download | mariadb-git-26b594e4110b4f7e6f2bcfbdb4c87aef65652bc0.tar.gz |
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
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 87713fc8208..a29ae0b67ae 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -433,6 +433,7 @@ sub check_garbd_support() { } sub check_wsrep_support() { + $garbd_exe= ""; if (have_wsrep()) { mtr_report(" - binaries built with wsrep patch"); |