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
915aaa18
Commit
915aaa18
authored
Aug 23, 2002
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
Docs/manual.texi: Auto merged
parents
82802d3e
b6a45157
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
11 deletions
+31
-11
Build-tools/Do-compile
Build-tools/Do-compile
+1
-1
Docs/manual.texi
Docs/manual.texi
+4
-0
client/mysqladmin.c
client/mysqladmin.c
+1
-0
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+2
-2
sql/mysqld.cc
sql/mysqld.cc
+2
-1
support-files/mysql.server.sh
support-files/mysql.server.sh
+21
-7
No files found.
Build-tools/Do-compile
View file @
915aaa18
...
@@ -123,7 +123,7 @@ if ($opt_stage == 0 && ! $opt_use_old_distribution)
...
@@ -123,7 +123,7 @@ if ($opt_stage == 0 && ! $opt_use_old_distribution)
system
("
touch timestamp
");
system
("
touch timestamp
");
sleep
(
2
);
sleep
(
2
);
system
("
touch timestamp2
");
system
("
touch timestamp2
");
system
("
find . -newer timestamp -print | xargs touch; rm -f timestamp
");
system
("
find . -newer timestamp -print | xargs touch; rm -f timestamp
timestamp2
");
sleep
(
2
);
sleep
(
2
);
# Ensure that files we don't want to rebuild are newer than other files
# Ensure that files we don't want to rebuild are newer than other files
safe_cd
(
$ver
);
safe_cd
(
$ver
);
...
...
Docs/manual.texi
View file @
915aaa18
...
@@ -50318,6 +50318,10 @@ each individual 4.0.x release.
...
@@ -50318,6 +50318,10 @@ each individual 4.0.x release.
@itemize @bullet
@itemize @bullet
@item
@item
Fixed problem with @code{configure ... --localstatedir=...}.
@item
Cleaned up @code{mysql.server} script.
@item
Fixed a bug in @code{mysqladmin shutdown} when pid file was modified
Fixed a bug in @code{mysqladmin shutdown} when pid file was modified
while @code{mysqladmin} was still waiting for the previous one to
while @code{mysqladmin} was still waiting for the previous one to
disappear. This could happen during a very quick restart and caused
disappear. This could happen during a very quick restart and caused
client/mysqladmin.c
View file @
915aaa18
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#ifdef THREAD
#ifdef THREAD
#include <my_pthread.h>
/* because of signal() */
#include <my_pthread.h>
/* because of signal() */
#endif
#endif
#include <sys/stat.h>
#define ADMIN_VERSION "8.37"
#define ADMIN_VERSION "8.37"
#define MAX_MYSQL_VAR 128
#define MAX_MYSQL_VAR 128
...
...
scripts/make_binary_distribution.sh
View file @
915aaa18
...
@@ -120,7 +120,7 @@ $CP scripts/* $BASE/bin
...
@@ -120,7 +120,7 @@ $CP scripts/* $BASE/bin
rm
-f
$BASE
/bin/Makefile
*
$BASE
/bin/
*
.in
$BASE
/bin/
*
.sh
$BASE
/bin/mysql_install_db
$BASE
/bin/make_binary_distribution
$BASE
/bin/setsomevars
$BASE
/support-files/Makefile
*
$BASE
/support-files/
*
.sh
rm
-f
$BASE
/bin/Makefile
*
$BASE
/bin/
*
.in
$BASE
/bin/
*
.sh
$BASE
/bin/mysql_install_db
$BASE
/bin/make_binary_distribution
$BASE
/bin/setsomevars
$BASE
/support-files/Makefile
*
$BASE
/support-files/
*
.sh
$BASE
/bin/replace
\@
localstatedir
\@
./data
\@
bindir
\@
./bin
\@
scriptdir
\@
./bin
\@
libexecdir
\@
./bin
\@
sbindir
\@
./bin
\@
prefix
\@
.
\@
HOSTNAME
\@
@HOSTNAME@ <
$SOURCE
/scripts/mysql_install_db.sh
>
$BASE
/scripts/mysql_install_db
$BASE
/bin/replace
\@
localstatedir
\@
./data
\@
bindir
\@
./bin
\@
scriptdir
\@
./bin
\@
libexecdir
\@
./bin
\@
sbindir
\@
./bin
\@
prefix
\@
.
\@
HOSTNAME
\@
@HOSTNAME@ <
$SOURCE
/scripts/mysql_install_db.sh
>
$BASE
/scripts/mysql_install_db
$BASE
/bin/replace
\@
prefix
\@
/usr/local/mysql
\@
bindir
\@
./bin
\@
MYSQLD_USER
\@
root
\@
localstatedir
\@
/usr/local/mysql/data <
$SOURCE
/support-files/mysql.server.sh
>
$BASE
/support-files/mysql.server
$BASE
/bin/replace
\@
prefix
\@
/usr/local/mysql
\@
bindir
\@
./bin
\@
MYSQLD_USER
\@
root
\@
localstatedir
\@
/usr/local/mysql/data
\@
HOSTNAME
\@
@HOSTNAME@
<
$SOURCE
/support-files/mysql.server.sh
>
$BASE
/support-files/mysql.server
$BASE
/bin/replace /my/gnu/bin/hostname /bin/hostname
--
$BASE
/bin/mysqld_safe
$BASE
/bin/replace /my/gnu/bin/hostname /bin/hostname
--
$BASE
/bin/mysqld_safe
# Make safe_mysqld a symlink to mysqld_safe for backwards portability
# Make safe_mysqld a symlink to mysqld_safe for backwards portability
...
@@ -128,7 +128,7 @@ $BASE/bin/replace /my/gnu/bin/hostname /bin/hostname -- $BASE/bin/mysqld_safe
...
@@ -128,7 +128,7 @@ $BASE/bin/replace /my/gnu/bin/hostname /bin/hostname -- $BASE/bin/mysqld_safe
(
cd
$BASE
/bin
;
ln
-s
mysqld_safe safe_mysqld
)
(
cd
$BASE
/bin
;
ln
-s
mysqld_safe safe_mysqld
)
mv
$BASE
/support-files/binary-configure
$BASE
/configure
mv
$BASE
/support-files/binary-configure
$BASE
/configure
chmod
a+x
$BASE
/bin/
*
$BASE
/scripts/
*
$BASE
/support-files/mysql-
*
$BASE
/configure
chmod
a+x
$BASE
/bin/
*
$BASE
/scripts/
*
$BASE
/support-files/mysql-
*
$BASE
/
support-files/mysql.server
$BASE
/
configure
$CP
-r
sql-bench/
*
$BASE
/sql-bench
$CP
-r
sql-bench/
*
$BASE
/sql-bench
rm
-f
$BASE
/sql-bench/
*
.sh
$BASE
/sql-bench/Makefile
*
$BASE
/lib/
*
.la
rm
-f
$BASE
/sql-bench/
*
.sh
$BASE
/sql-bench/Makefile
*
$BASE
/lib/
*
.la
...
...
sql/mysqld.cc
View file @
915aaa18
...
@@ -2036,6 +2036,7 @@ int main(int argc, char **argv)
...
@@ -2036,6 +2036,7 @@ int main(int argc, char **argv)
start_signal_handler
();
// Creates pidfile
start_signal_handler
();
// Creates pidfile
if
(
acl_init
(
opt_noacl
))
if
(
acl_init
(
opt_noacl
))
{
{
abort_loop
=
1
;
select_thread_in_use
=
0
;
select_thread_in_use
=
0
;
(
void
)
pthread_kill
(
signal_thread
,
MYSQL_KILL_SIGNAL
);
(
void
)
pthread_kill
(
signal_thread
,
MYSQL_KILL_SIGNAL
);
#ifndef __WIN__
#ifndef __WIN__
...
@@ -3893,7 +3894,7 @@ static void set_options(void)
...
@@ -3893,7 +3894,7 @@ static void set_options(void)
sys_charset
.
value
=
(
char
*
)
MYSQL_CHARSET
;
sys_charset
.
value
=
(
char
*
)
MYSQL_CHARSET
;
(
void
)
strmake
(
language
,
LANGUAGE
,
sizeof
(
language
)
-
1
);
(
void
)
strmake
(
language
,
LANGUAGE
,
sizeof
(
language
)
-
1
);
(
void
)
strmake
(
mysql_real_data_home
,
get_relative_path
(
DATADIR
),
(
void
)
strmake
(
mysql_real_data_home
,
get_relative_path
(
DATADIR
),
sizeof
(
mysql_real_data_home
-
1
)
);
sizeof
(
mysql_real_data_home
)
-
1
);
/* Set default values for some variables */
/* Set default values for some variables */
global_system_variables
.
table_type
=
DB_TYPE_MYISAM
;
global_system_variables
.
table_type
=
DB_TYPE_MYISAM
;
...
...
support-files/mysql.server.sh
View file @
915aaa18
...
@@ -24,17 +24,27 @@
...
@@ -24,17 +24,27 @@
# Description: MySQL is a very fast and reliable SQL database engine.
# Description: MySQL is a very fast and reliable SQL database engine.
### END INIT INFO
### END INIT INFO
# If you install MySQL on some other places than @prefix@, then you
# The following variables are only set for letting mysql.server find things.
# have to do one of the following thing for this script to work:
#
# - Run this script from the MySQL installation directory
# - Create a /etc/my.cnf file with the following information:
# [mysqld]
# basedir=path-to-mysql-installation-directory
# - Add the above to any other configuration file (for example ~/.my.ini)
# and copy my_print_defaults to /usr/bin
# - Add the path to the mysql-installation-directory to the basedir variable
# below.
#
# If you want to affect other MySQL variables, you should make your changes
# If you want to affect other MySQL variables, you should make your changes
# in the /etc/my.cnf
or other
configuration files.
# in the /etc/my.cnf
, ~/.my.cnf or other MySQL
configuration files.
PATH
=
/sbin:/usr/sbin:/bin:/usr/bin
basedir
=
export
PATH
# The following variables are only set for letting mysql.server find things.
# Set some defaults
# Set some defaults
datadir
=
@localstatedir@
datadir
=
@localstatedir@
basedir
=
pid_file
=
pid_file
=
if
test
-z
"
$basedir
"
if
test
-z
"
$basedir
"
then
then
...
@@ -43,6 +53,10 @@ then
...
@@ -43,6 +53,10 @@ then
else
else
bindir
=
"
$basedir
/bin"
bindir
=
"
$basedir
/bin"
fi
fi
PATH
=
/sbin:/usr/sbin:/bin:/usr/bin:
$basedir
/bin
export
PATH
if
test
-z
"
$pid_file
"
if
test
-z
"
$pid_file
"
then
then
pid_file
=
$datadir
/
`
@HOSTNAME@
`
.pid
pid_file
=
$datadir
/
`
@HOSTNAME@
`
.pid
...
@@ -123,7 +137,7 @@ case "$mode" in
...
@@ -123,7 +137,7 @@ case "$mode" in
touch
/var/lock/subsys/mysql
touch
/var/lock/subsys/mysql
fi
fi
else
else
echo
"Can't execute
$bindir
/mysqld_safe"
echo
"Can't execute
$bindir
/mysqld_safe
from dir
$basedir
"
fi
fi
;;
;;
...
...
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