1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-20 13:13:59 +03:00

Reverting change adding /etc/mysql support, as it breaks some installs.

This commit is contained in:
mtaylor@qualinost.(none) 2007-01-26 12:17:50 -08:00
parent 065ab1537a
commit f8f11eb2d9

View File

@ -978,11 +978,10 @@ static uint my_get_system_windows_directory(char *buffer, uint size)
Everywhere else, this is:
1. /etc/
2. /etc/mysql/
3. getenv(DEFAULT_HOME_ENV)
4. ""
5. "~/"
6. --sysconfdir=<path>
2. getenv(DEFAULT_HOME_ENV)
3. ""
4. "~/"
5. --sysconfdir=<path>
*/
@ -1008,7 +1007,6 @@ static void init_default_directories()
*ptr++= env;
#endif
*ptr++= "/etc/";
*ptr++= "/etc/mysql/";
#endif
if ((env= getenv(STRINGIFY_ARG(DEFAULT_HOME_ENV))))
*ptr++= env;