blob: d73f7097a391117fb98dbd114935b8729c3557c7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- mysys/default.c.orig 2008-08-12 17:31:37.000000000 +0200
+++ mysys/default.c 2008-08-27 12:38:14.000000000 +0200
@@ -638,7 +638,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
@@ -1091,7 +1091,10 @@
#if defined(DEFAULT_SYSCONFDIR)
if (DEFAULT_SYSCONFDIR != "")
+ {
errors += add_directory(alloc, DEFAULT_SYSCONFDIR, dirs);
+ errors += add_directory(alloc, DEFAULT_SYSCONFDIR "mysql", dirs);
+ }
#endif /* DEFAULT_SYSCONFDIR */
#endif
|