summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Goryavsky <julius.goryavsky@mariadb.com>2019-09-25 14:00:39 +0200
committerJulius Goryavsky <julius.goryavsky@mariadb.com>2019-09-25 14:00:39 +0200
commit2fba8f72a8ab560b87578830fafb51bd26c809ab (patch)
treed797c5e8af652e262d96a04a5c0f9d78bd2011b2
parent516f7c111b0cc3e9ad193c5a4e8c9171a081a362 (diff)
downloadmariadb-git-bb-10.1-MDEV-20614.tar.gz
MDEV-20614: Syntax error, and option put in wrong placebb-10.1-MDEV-20614
A syntax error has been fixed here + a new option has been moved to the top of the mysqld options list.
-rw-r--r--scripts/mysqld_multi.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/mysqld_multi.sh b/scripts/mysqld_multi.sh
index 0bd50c1974f..7cf22bdaf3c 100644
--- a/scripts/mysqld_multi.sh
+++ b/scripts/mysqld_multi.sh
@@ -349,7 +349,7 @@ sub start_mysqlds()
$options[$j]= quote_shell_word($options[$j]);
$tmp.= " $options[$j]";
}
- elseif ("--defaults-group-suffix=" eq substr($options[$j], 0, 24))
+ elsif ("--defaults-group-suffix=" eq substr($options[$j], 0, 24))
{
$suffix_found= 1;
}
@@ -368,7 +368,6 @@ sub start_mysqlds()
print "wanted mysqld binary.\n\n";
$info_sent= 1;
}
- $com.= $tmp;
if (!$suffix_found)
{
@@ -376,6 +375,8 @@ sub start_mysqlds()
$com.= $groups[$i];
}
+ $com.= $tmp;
+
if ($opt_wsrep_new_cluster) {
$com.= " --wsrep-new-cluster";
}