summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorRucha Deodhar <rucha.deodhar@mariadb.com>2021-07-19 13:06:50 +0530
committerRucha Deodhar <rucha.deodhar@mariadb.com>2021-07-23 12:39:25 +0530
commit534553897f7178eb1456b11aa6c70f6025364407 (patch)
tree00e727e0ffc7777031e0dac3a11ba93dafe95542 /support-files
parent5518c3209b2505108cc7732f2ef94334573d4c27 (diff)
downloadmariadb-git-534553897f7178eb1456b11aa6c70f6025364407.tar.gz
MDEV-24248: my_print_defaults is not taking all the values when using -e
option which is called from mysql.server (extra_args). Fix: change mysql.server script to use --defaults-extra-file instead of -e
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.server.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh
index cefb3225e9e..cbd6b472148 100644
--- a/support-files/mysql.server.sh
+++ b/support-files/mysql.server.sh
@@ -200,11 +200,11 @@ su_kill() {
extra_args=""
if test -r "$basedir/my.cnf"
then
- extra_args="-e $basedir/my.cnf"
+ extra_args="--defaults-extra-file= $basedir/my.cnf"
else
if test -r "$datadir/my.cnf"
then
- extra_args="-e $datadir/my.cnf"
+ extra_args="--defaults-extra-file= $datadir/my.cnf"
fi
fi