aboutsummaryrefslogtreecommitdiff
path: root/databases/percona55-server/files/patch-mysys_default.c
blob: a202932767eae19d039641ca6b6818751dbe7976 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- mysys/default.c.orig	2008-04-08 13:23:13.000000000 +0200
+++ mysys/default.c	2008-04-21 19:20:44.000000000 +0200
@@ -623,7 +623,7 @@
   {
     MY_STAT stat_info;
     if (!my_stat(name,&stat_info,MYF(0)))
-      return 1;
+      return 0;
     /*
       Ignore world-writable regular files.
       This is mainly done to protect us to not read a file created by
@@ -1105,6 +1105,7 @@
 #ifdef DEFAULT_SYSCONFDIR
   if (DEFAULT_SYSCONFDIR != "")
     ADD_DIRECTORY(DEFAULT_SYSCONFDIR);
+    ADD_DIRECTORY(DEFAULT_SYSCONFDIR "/mysql/");
 #endif
   ADD_COMMON_DIRECTORIES();
   ADD_DIRECTORY("~/");