34d3ab84b0
- Set the new sequence for finding my.cnf files [2]: /etc, ${PREFIX}/etc, ${mysql_dbdir} (default to: /etc/my.cnf, /usr/local/etc/my.cnf, /var/db/mysql/my.cnf) - Add the possibility to specify additional command-line arguments to be passed to mysqld_safe on startup PR: ports/79166 [1], ports/79597 [2] Submitted by: Sergey Prikhodko <sergey@network-asp.biz> [1], Vasil Dimov <vd@datamax.bg> [2]
13 lines
298 B
C
13 lines
298 B
C
--- mysys/default.c.orig Mon Apr 11 11:15:09 2005
|
|
+++ mysys/default.c Mon Apr 11 11:15:23 2005
|
|
@@ -49,9 +49,7 @@
|
|
"sys:/etc/",
|
|
#else
|
|
"/etc/",
|
|
-#endif
|
|
-#ifdef DATADIR
|
|
-DATADIR,
|
|
+"%%PREFIX%%/etc/",
|
|
#endif
|
|
"", /* Place for defaults_extra_dir */
|
|
#if !defined(__WIN__) && !defined(__NETWARE__)
|