Revert "MDEV-24248: my_print_defaults is not taking all the values when using -e"

This reverts commit f88d130e71.
This commit is contained in:
Rucha Deodhar 2021-07-15 17:07:22 +05:30
commit 826eab3f9b
3 changed files with 2 additions and 49 deletions

View file

@ -200,11 +200,11 @@ su_kill() {
extra_args=""
if test -r "$basedir/my.cnf"
then
extra_args="--defaults-extra-file=$basedir/my.cnf"
extra_args="-e $basedir/my.cnf"
else
if test -r "$datadir/my.cnf"
then
extra_args="--defaults-extra-file=$datadir/my.cnf"
extra_args="-e $datadir/my.cnf"
fi
fi