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
51e8a23a
Commit
51e8a23a
authored
Oct 24, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the pid file testing after arguments are parsed (previous patch was not correct)
parent
382a4c03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
support-files/mysql.server.sh
support-files/mysql.server.sh
+13
-13
No files found.
support-files/mysql.server.sh
View file @
51e8a23a
...
...
@@ -108,19 +108,6 @@ else
test
-z
"
$print_defaults
"
&&
print_defaults
=
"my_print_defaults"
fi
#
# Set pid file if not given
#
if
test
-z
"
$pid_file
"
then
pid_file
=
$datadir
/
`
@HOSTNAME@
`
.pid
else
case
"
$pid_file
"
in
/
*
)
;;
*
)
pid_file
=
"
$datadir
/
$pid_file
"
;;
esac
fi
#
# Test if someone changed datadir; In this case we should also read the
# default arguments from this directory
...
...
@@ -134,6 +121,19 @@ fi
parse_arguments
`
$print_defaults
$extra_args
mysqld mysql_server mysql.server
`
#
# Set pid file if not given
#
if
test
-z
"
$pid_file
"
then
pid_file
=
$datadir
/
`
@HOSTNAME@
`
.pid
else
case
"
$pid_file
"
in
/
*
)
;;
*
)
pid_file
=
"
$datadir
/
$pid_file
"
;;
esac
fi
# Safeguard (relative paths, core dumps..)
cd
$basedir
...
...
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