python/hypothesis: update to 6.122.3
[oi-userland.git] / components / database / percona-server-57 / patches / 07-my.cnf-serch-path.patch
blobae936573424708a1d47296220e75997a60ca1291
1 We leave configs in /etc/mysql only for humans.
2 As /etc/mysql/my.cnf is mediated and can point to
3 another DBMS's config, we don't read it.
4 We also skip /etc/my.cnf as we are not sure that it's
5 our own config. So, we use only $(CONFDIR)/my.cnf
7 --- percona-server-5.6.31-77.0/mysys_ssl/my_default.cc.~1~ 2016-06-30 13:04:53.000000000 +0300
8 +++ percona-server-5.6.31-77.0/mysys_ssl/my_default.cc 2016-07-27 15:39:27.231412249 +0300
9 @@ -1394,12 +1394,12 @@
11 #else
13 - errors += add_directory(alloc, "/etc/", dirs);
14 - errors += add_directory(alloc, "/etc/mysql/", dirs);
16 #if defined(DEFAULT_SYSCONFDIR)
17 if (DEFAULT_SYSCONFDIR[0])
18 errors += add_directory(alloc, DEFAULT_SYSCONFDIR, dirs);
19 +#else
20 + errors += add_directory(alloc, "/etc/", dirs);
21 + errors += add_directory(alloc, "/etc/mysql/", dirs);
22 #endif /* DEFAULT_SYSCONFDIR */
24 #endif