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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d012c49e
Commit
d012c49e
authored
Nov 01, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jimw/my/mysql-4.1-13774
into mysql.com:/home/jimw/my/mysql-4.1-clean
parents
f2eeaca3
1d9bfbf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
scripts/mysqld_safe.sh
scripts/mysqld_safe.sh
+11
-8
No files found.
scripts/mysqld_safe.sh
View file @
d012c49e
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
# executing mysqld_safe
# executing mysqld_safe
KILL_MYSQLD
=
1
;
KILL_MYSQLD
=
1
;
MYSQLD
=
trap
''
1 2 3 15
# we shouldn't let anyone kill us
trap
''
1 2 3 15
# we shouldn't let anyone kill us
...
@@ -130,14 +131,6 @@ fi
...
@@ -130,14 +131,6 @@ fi
user
=
@MYSQLD_USER@
user
=
@MYSQLD_USER@
niceness
=
0
niceness
=
0
# Use the mysqld-max binary by default if the user doesn't specify a binary
if
test
-x
$ledir
/mysqld-max
then
MYSQLD
=
mysqld-max
else
MYSQLD
=
mysqld
fi
# these rely on $DATADIR by default, so we'll set them later on
# these rely on $DATADIR by default, so we'll set them later on
pid_file
=
pid_file
=
err_log
=
err_log
=
...
@@ -176,6 +169,16 @@ then
...
@@ -176,6 +169,16 @@ then
chown
$user
$mysql_unix_port_dir
chown
$user
$mysql_unix_port_dir
fi
fi
# Use the mysqld-max binary by default if the user doesn't specify a binary
if
test
-z
"
$MYSQLD
"
then
if
test
-x
$ledir
/mysqld-max
then
MYSQLD
=
mysqld-max
else
MYSQLD
=
mysqld
fi
fi
if
test
!
-x
$ledir
/
$MYSQLD
if
test
!
-x
$ledir
/
$MYSQLD
then
then
...
...
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