broken safe_mysqld --defaults-file

broken safe_mysqld --defaults-file

am 24.04.2003 03:06:58 von Sasha Pachev

Hello, everyone:

safe_mysqld (tested in 4.0.12, I believe present in all other versions) will
insist on using its hard-coded datadir when --defaults-file option is given.
This results in a very counter-intuitive behaviour. One would expect
safe_mysqld to honor everything specified in the defaults file pointed to,
while in fact, the default hard-coded datadir ends up taking precedence.

Suggested fix:

If the argument defaults-file is present, and datadir is specified in the
defaults file, do not pass --datadir argument to mysqld inside safe_mysqld .

--
Sasha Pachev
Create online surveys at http://www.surveypro.com/

--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org