1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-25 13:42:52 +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: Everywhere else, this is:
1. /etc/ 1. /etc/
2. /etc/mysql/ 2. getenv(DEFAULT_HOME_ENV)
3. getenv(DEFAULT_HOME_ENV) 3. ""
4. "" 4. "~/"
5. "~/" 5. --sysconfdir=<path>
6. --sysconfdir=<path>
*/ */
@ -1008,7 +1007,6 @@ static void init_default_directories()
*ptr++= env; *ptr++= env;
#endif #endif
*ptr++= "/etc/"; *ptr++= "/etc/";
*ptr++= "/etc/mysql/";
#endif #endif
if ((env= getenv(STRINGIFY_ARG(DEFAULT_HOME_ENV)))) if ((env= getenv(STRINGIFY_ARG(DEFAULT_HOME_ENV))))
*ptr++= env; *ptr++= env;