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
5770973b
Commit
5770973b
authored
Apr 10, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge 192.168.0.20:mysql/bug15069/my51-bug15069
into neptunus.(none):/home/msvensson/mysql/mysql-5.1
parents
24a6dd64
1e2de604
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
libmysql/Makefile.shared
libmysql/Makefile.shared
+1
-0
mysys/Makefile.am
mysys/Makefile.am
+1
-0
mysys/default.c
mysys/default.c
+9
-1
No files found.
libmysql/Makefile.shared
View file @
5770973b
...
@@ -85,6 +85,7 @@ DEFS = -DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
...
@@ -85,6 +85,7 @@ DEFS = -DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
-DDATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-DDATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-DDEFAULT_HOME_ENV
=
MYSQL_HOME
\
-DDEFAULT_HOME_ENV
=
MYSQL_HOME
\
-DDEFAULT_GROUP_SUFFIX_ENV
=
MYSQL_GROUP_SUFFIX
\
-DDEFAULT_GROUP_SUFFIX_ENV
=
MYSQL_GROUP_SUFFIX
\
-DDEFAULT_SYSCONFDIR
=
"
\"
$(sysconfdir)
\"
"
\
-DSHAREDIR
=
"
\"
$(MYSQLSHAREdir)
\"
"
$(target_defs)
-DSHAREDIR
=
"
\"
$(MYSQLSHAREdir)
\"
"
$(target_defs)
if
HAVE_YASSL
if
HAVE_YASSL
...
...
mysys/Makefile.am
View file @
5770973b
...
@@ -73,6 +73,7 @@ DEFS = -DDEFAULT_BASEDIR=\"$(prefix)\" \
...
@@ -73,6 +73,7 @@ DEFS = -DDEFAULT_BASEDIR=\"$(prefix)\" \
-DSHAREDIR
=
"
\"
$(MYSQLSHAREdir)
\"
"
\
-DSHAREDIR
=
"
\"
$(MYSQLSHAREdir)
\"
"
\
-DDEFAULT_HOME_ENV
=
MYSQL_HOME
\
-DDEFAULT_HOME_ENV
=
MYSQL_HOME
\
-DDEFAULT_GROUP_SUFFIX_ENV
=
MYSQL_GROUP_SUFFIX
\
-DDEFAULT_GROUP_SUFFIX_ENV
=
MYSQL_GROUP_SUFFIX
\
-DDEFAULT_SYSCONFDIR
=
"
\"
$(sysconfdir)
\"
"
\
@DEFS@
@DEFS@
libmysys_a_DEPENDENCIES
=
@THREAD_LOBJECTS@
libmysys_a_DEPENDENCIES
=
@THREAD_LOBJECTS@
...
...
mysys/default.c
View file @
5770973b
...
@@ -48,7 +48,7 @@ char *defaults_extra_file=0;
...
@@ -48,7 +48,7 @@ char *defaults_extra_file=0;
/* Which directories are searched for options (and in which order) */
/* Which directories are searched for options (and in which order) */
#define MAX_DEFAULT_DIRS
6
#define MAX_DEFAULT_DIRS
7
const
char
*
default_directories
[
MAX_DEFAULT_DIRS
+
1
];
const
char
*
default_directories
[
MAX_DEFAULT_DIRS
+
1
];
#ifdef __WIN__
#ifdef __WIN__
...
@@ -959,11 +959,13 @@ static uint my_get_system_windows_directory(char *buffer, uint size)
...
@@ -959,11 +959,13 @@ static uint my_get_system_windows_directory(char *buffer, uint size)
4. getenv(DEFAULT_HOME_ENV)
4. getenv(DEFAULT_HOME_ENV)
5. Directory above where the executable is located
5. Directory above where the executable is located
6. ""
6. ""
7. --sysconfdir=<path>
On Novell NetWare, this is:
On Novell NetWare, this is:
1. sys:/etc/
1. sys:/etc/
2. getenv(DEFAULT_HOME_ENV)
2. getenv(DEFAULT_HOME_ENV)
3. ""
3. ""
4. --sysconfdir=<path>
On OS/2, this is:
On OS/2, this is:
1. getenv(ETC)
1. getenv(ETC)
...
@@ -971,12 +973,14 @@ static uint my_get_system_windows_directory(char *buffer, uint size)
...
@@ -971,12 +973,14 @@ static uint my_get_system_windows_directory(char *buffer, uint size)
3. getenv(DEFAULT_HOME_ENV)
3. getenv(DEFAULT_HOME_ENV)
4. ""
4. ""
5. "~/"
5. "~/"
6. --sysconfdir=<path>
Everywhere else, this is:
Everywhere else, this is:
1. /etc/
1. /etc/
2. getenv(DEFAULT_HOME_ENV)
2. getenv(DEFAULT_HOME_ENV)
3. ""
3. ""
4. "~/"
4. "~/"
5. --sysconfdir=<path>
*/
*/
...
@@ -1040,6 +1044,10 @@ static void init_default_directories()
...
@@ -1040,6 +1044,10 @@ static void init_default_directories()
}
}
*
ptr
++=
(
char
*
)
&
config_dir
;
*
ptr
++=
(
char
*
)
&
config_dir
;
}
}
#endif
#ifdef DEFAULT_SYSCONFDIR
if
(
DEFAULT_SYSCONFDIR
!=
""
)
*
ptr
++=
DEFAULT_SYSCONFDIR
;
#endif
#endif
*
ptr
=
0
;
/* end marker */
*
ptr
=
0
;
/* end marker */
}
}
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