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
08d36171
Commit
08d36171
authored
Jan 19, 2001
by
tim@cane.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add --with-server-suffix (MYSQL_SERVER_SUFFIX).
parent
1dd57704
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
1 deletion
+16
-1
configure.in
configure.in
+8
-0
include/mysql_version.h.in
include/mysql_version.h.in
+1
-0
myisam/Makefile.am
myisam/Makefile.am
+1
-0
mysql-test/Makefile.am
mysql-test/Makefile.am
+1
-0
scripts/Makefile.am
scripts/Makefile.am
+1
-0
scripts/mysqlbug.sh
scripts/mysqlbug.sh
+1
-1
sql-bench/Makefile.am
sql-bench/Makefile.am
+1
-0
sql/mysqld.cc
sql/mysqld.cc
+1
-0
support-files/Makefile.am
support-files/Makefile.am
+1
-0
No files found.
configure.in
View file @
08d36171
...
@@ -389,6 +389,14 @@ then
...
@@ -389,6 +389,14 @@ then
AC_MSG_ERROR
([
MySQL requiers a ANSI C compiler
(
and a C++ compiler
)
.
Try gcc. See the Installation chapter
in
the Reference Manual.]
)
AC_MSG_ERROR
([
MySQL requiers a ANSI C compiler
(
and a C++ compiler
)
.
Try gcc. See the Installation chapter
in
the Reference Manual.]
)
fi
fi
AC_ARG_WITH
(
server-suffix,
[
--with-server-suffix
Append value to the version string.],
# I heard that 'cut' isn't portable. Isn't there a better way?
[
MYSQL_SERVER_SUFFIX
=
`
echo
"
$withval
"
|
sed
-e
's/^\(...................................\)..*$/\1/'
`
]
,
[
MYSQL_SERVER_SUFFIX
=
]
)
AC_SUBST
(
MYSQL_SERVER_SUFFIX
)
# Set flags if we wants to have MIT threads.
# Set flags if we wants to have MIT threads.
AC_ARG_WITH
(
mit-threads,
AC_ARG_WITH
(
mit-threads,
[
--with-mit-threads
Always use included thread lib.],
[
--with-mit-threads
Always use included thread lib.],
...
...
include/mysql_version.h.in
View file @
08d36171
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
#else
#else
#define PROTOCOL_VERSION @PROTOCOL_VERSION@
#define PROTOCOL_VERSION @PROTOCOL_VERSION@
#define MYSQL_SERVER_VERSION "@VERSION@"
#define MYSQL_SERVER_VERSION "@VERSION@"
#define MYSQL_SERVER_SUFFIX "@MYSQL_SERVER_SUFFIX@"
#define FRM_VER @DOT_FRM_VERSION@
#define FRM_VER @DOT_FRM_VERSION@
#define MYSQL_VERSION_ID @MYSQL_VERSION_ID@
#define MYSQL_VERSION_ID @MYSQL_VERSION_ID@
#define MYSQL_PORT @MYSQL_TCP_PORT@
#define MYSQL_PORT @MYSQL_TCP_PORT@
...
...
myisam/Makefile.am
View file @
08d36171
...
@@ -83,6 +83,7 @@ SUFFIXES = .sh
...
@@ -83,6 +83,7 @@ SUFFIXES = .sh
-e
's!@''CXXFLAGS''@!@SAVE_CXXFLAGS@!'
\
-e
's!@''CXXFLAGS''@!@SAVE_CXXFLAGS@!'
\
-e
's!@''LDFLAGS''@!@SAVE_LDFLAGS@!'
\
-e
's!@''LDFLAGS''@!@SAVE_LDFLAGS@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!'
\
-e
's!@''COMPILATION_COMMENT''@!@COMPILATION_COMMENT@!'
\
-e
's!@''COMPILATION_COMMENT''@!@COMPILATION_COMMENT@!'
\
-e
's!@''MACHINE_TYPE''@!@MACHINE_TYPE@!'
\
-e
's!@''MACHINE_TYPE''@!@MACHINE_TYPE@!'
\
-e
's!@''HOSTNAME''@!@HOSTNAME@!'
\
-e
's!@''HOSTNAME''@!@HOSTNAME@!'
\
...
...
mysql-test/Makefile.am
View file @
08d36171
...
@@ -62,6 +62,7 @@ SUFFIXES = .sh
...
@@ -62,6 +62,7 @@ SUFFIXES = .sh
-e
's!@''libexecdir''@!
$(libexecdir)
!g'
\
-e
's!@''libexecdir''@!
$(libexecdir)
!g'
\
-e
's!@''PERL''@!@PERL@!'
\
-e
's!@''PERL''@!@PERL@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!'
\
$<
>
$@
-t
$<
>
$@
-t
@
CHMOD@ +x
$@
-t
@
CHMOD@ +x
$@
-t
@
MV@
$@
-t
$@
@
MV@
$@
-t
$@
...
...
scripts/Makefile.am
View file @
08d36171
...
@@ -96,6 +96,7 @@ SUFFIXES = .sh
...
@@ -96,6 +96,7 @@ SUFFIXES = .sh
-e
's!@''LDFLAGS''@!@SAVE_LDFLAGS@!'
\
-e
's!@''LDFLAGS''@!@SAVE_LDFLAGS@!'
\
-e
's!@''CLIENT_LIBS''@!@CLIENT_LIBS@!'
\
-e
's!@''CLIENT_LIBS''@!@CLIENT_LIBS@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!'
\
-e
's!@''COMPILATION_COMMENT''@!@COMPILATION_COMMENT@!'
\
-e
's!@''COMPILATION_COMMENT''@!@COMPILATION_COMMENT@!'
\
-e
's!@''MACHINE_TYPE''@!@MACHINE_TYPE@!'
\
-e
's!@''MACHINE_TYPE''@!@MACHINE_TYPE@!'
\
-e
's!@''HOSTNAME''@!@HOSTNAME@!'
\
-e
's!@''HOSTNAME''@!@HOSTNAME@!'
\
...
...
scripts/mysqlbug.sh
View file @
08d36171
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
echo
"Finding system information for a MySQL bug report"
echo
"Finding system information for a MySQL bug report"
VERSION
=
"@VERSION@"
VERSION
=
"@VERSION@
@MYSQL_SERVER_SUFFIX@
"
COMPILATION_COMMENT
=
"@COMPILATION_COMMENT@"
COMPILATION_COMMENT
=
"@COMPILATION_COMMENT@"
BUGmysql
=
"mysql@lists.mysql.com"
BUGmysql
=
"mysql@lists.mysql.com"
# This is set by configure
# This is set by configure
...
...
sql-bench/Makefile.am
View file @
08d36171
...
@@ -78,6 +78,7 @@ SUFFIXES = .sh
...
@@ -78,6 +78,7 @@ SUFFIXES = .sh
-e
's!@''libexecdir''@!
$(libexecdir)
!g'
\
-e
's!@''libexecdir''@!
$(libexecdir)
!g'
\
-e
's!@''PERL''@!@PERL@!'
\
-e
's!@''PERL''@!@PERL@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!'
\
$<
>
$@
-t
$<
>
$@
-t
@
CHMOD@ +x
$@
-t
@
CHMOD@ +x
$@
-t
@
MV@
$@
-t
$@
@
MV@
$@
-t
$@
...
...
sql/mysqld.cc
View file @
08d36171
...
@@ -1471,6 +1471,7 @@ int main(int argc, char **argv)
...
@@ -1471,6 +1471,7 @@ int main(int argc, char **argv)
strmov
(
glob_hostname
,
"mysql"
);
strmov
(
glob_hostname
,
"mysql"
);
strmov
(
pidfile_name
,
glob_hostname
);
strmov
(
pidfile_name
,
glob_hostname
);
strmov
(
strcend
(
pidfile_name
,
'.'
),
".pid"
);
// Add extension
strmov
(
strcend
(
pidfile_name
,
'.'
),
".pid"
);
// Add extension
strcat
(
server_version
,
MYSQL_SERVER_SUFFIX
);
#ifdef DEMO_VERSION
#ifdef DEMO_VERSION
strcat
(
server_version
,
"-demo"
);
strcat
(
server_version
,
"-demo"
);
#endif
#endif
...
...
support-files/Makefile.am
View file @
08d36171
...
@@ -71,6 +71,7 @@ SUFFIXES = .sh
...
@@ -71,6 +71,7 @@ SUFFIXES = .sh
-e
's!@''CXXFLAGS''@!@SAVE_CXXFLAGS@!'
\
-e
's!@''CXXFLAGS''@!@SAVE_CXXFLAGS@!'
\
-e
's!@''LDFLAGS''@!@SAVE_LDFLAGS@!'
\
-e
's!@''LDFLAGS''@!@SAVE_LDFLAGS@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!'
\
-e
's!@''COMPILATION_COMMENT''@!@COMPILATION_COMMENT@!'
\
-e
's!@''COMPILATION_COMMENT''@!@COMPILATION_COMMENT@!'
\
-e
's!@''MACHINE_TYPE''@!@MACHINE_TYPE@!'
\
-e
's!@''MACHINE_TYPE''@!@MACHINE_TYPE@!'
\
-e
's!@''HOSTNAME''@!@HOSTNAME@!'
\
-e
's!@''HOSTNAME''@!@HOSTNAME@!'
\
...
...
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