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
84bfed68
Commit
84bfed68
authored
Apr 06, 2006
by
igreenhoe@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for Bug #16240
parent
3ad9bc88
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
support-files/mysql.server.sh
support-files/mysql.server.sh
+10
-2
No files found.
support-files/mysql.server.sh
View file @
84bfed68
...
@@ -72,6 +72,10 @@ else
...
@@ -72,6 +72,10 @@ else
libexecdir
=
"
$basedir
/libexec"
libexecdir
=
"
$basedir
/libexec"
fi
fi
# datadir_set is used to determine if datadir was set (and so should be
# *not* set inside of the --basedir= handler.)
datadir_set
=
#
#
# Use LSB init script functions for printing messages, if possible
# Use LSB init script functions for printing messages, if possible
#
#
...
@@ -105,11 +109,15 @@ parse_server_arguments() {
...
@@ -105,11 +109,15 @@ parse_server_arguments() {
case
"
$arg
"
in
case
"
$arg
"
in
--basedir
=
*
)
basedir
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
--basedir
=
*
)
basedir
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
bindir
=
"
$basedir
/bin"
bindir
=
"
$basedir
/bin"
if
test
-z
"
$datadir_set
"
;
then
datadir
=
"
$basedir
/data"
datadir
=
"
$basedir
/data"
fi
sbindir
=
"
$basedir
/sbin"
sbindir
=
"
$basedir
/sbin"
libexecdir
=
"
$basedir
/libexec"
libexecdir
=
"
$basedir
/libexec"
;;
;;
--datadir
=
*
)
datadir
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
;;
--datadir
=
*
)
datadir
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
datadir_set
=
1
;;
--user
=
*
)
user
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
;;
--user
=
*
)
user
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
;;
--pid-file
=
*
)
server_pid_file
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
;;
--pid-file
=
*
)
server_pid_file
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
;;
--use-mysqld_safe
)
use_mysqld_safe
=
1
;;
--use-mysqld_safe
)
use_mysqld_safe
=
1
;;
...
...
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