diff options
author | Julius Goryavsky <julius.goryavsky@mariadb.com> | 2019-09-25 14:00:39 +0200 |
---|---|---|
committer | Julius Goryavsky <julius.goryavsky@mariadb.com> | 2019-09-27 17:17:14 +0200 |
commit | fa28d53c7a9352d5b9cdd7a1ad796db7ae5a0b77 (patch) | |
tree | c27c1d4fbcfb4c8b57f1524ee7f726b42d6efa29 | |
parent | b6bb64e54a3e34a20cda34e25b6ec62a097955ef (diff) | |
download | mariadb-git-bb-10.3-sysprg.tar.gz |
MDEV-20614: Syntax error, and option put in wrong placebb-10.3-sysprg
A syntax error in the mysqld_multi.sh script has been fixed
here + a "--defaults-group-suffix" option has been moved to
the top of the mysqld options list.
-rw-r--r-- | scripts/mysqld_multi.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/mysqld_multi.sh b/scripts/mysqld_multi.sh index b8730e2624a..748925bef0b 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"; } |