Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f8f11eb2
Commit
f8f11eb2
authored
Jan 26, 2007
by
mtaylor@qualinost.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reverting change adding /etc/mysql support, as it breaks some installs.
parent
065ab153
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
mysys/default.c
mysys/default.c
+4
-6
No files found.
mysys/default.c
View file @
f8f11eb2
...
@@ -978,11 +978,10 @@ static uint my_get_system_windows_directory(char *buffer, uint size)
...
@@ -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()
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment