summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorJulius Goryavsky <julius.goryavsky@mariadb.com>2019-07-18 11:39:57 +0200
committerJulius Goryavsky <julius.goryavsky@mariadb.com>2019-07-18 11:39:57 +0200
commit5a95a33e309d0b2c6bc0f938ad925e3f74b0f921 (patch)
tree8dfb38c475348d4516d485c5f1ec80eac75fa235 /mysql-test/mysql-test-run.pl
parentf5390eea9a9fa307876c4f78cd876edb91b8194c (diff)
downloadmariadb-git-5a95a33e309d0b2c6bc0f938ad925e3f74b0f921.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
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl1
1 files changed, 1 insertions, 0 deletions
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");