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
fa779859
Commit
fa779859
authored
Nov 25, 2002
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql.server.sh:
- reverted some incompatible/non-portable modifications
parent
0902118b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
support-files/mysql.server.sh
support-files/mysql.server.sh
+3
-3
No files found.
support-files/mysql.server.sh
View file @
fa779859
...
@@ -79,7 +79,7 @@ parse_arguments() {
...
@@ -79,7 +79,7 @@ parse_arguments() {
done
done
}
}
# Get arguments from the my.cnf file, groups [mysqld] and [mysql
.
server]
# Get arguments from the my.cnf file, groups [mysqld] and [mysql
_
server]
if
test
-x
./bin/my_print_defaults
if
test
-x
./bin/my_print_defaults
then
then
print_defaults
=
"./bin/my_print_defaults"
print_defaults
=
"./bin/my_print_defaults"
...
@@ -117,7 +117,7 @@ else
...
@@ -117,7 +117,7 @@ else
test
-z
"
$print_defaults
"
&&
print_defaults
=
"my_print_defaults"
test
-z
"
$print_defaults
"
&&
print_defaults
=
"my_print_defaults"
fi
fi
parse_arguments
`
$print_defaults
$defaults
mysqld mysql
.
server
`
parse_arguments
`
$print_defaults
$defaults
mysqld mysql
_
server
`
# Safeguard (relative paths, core dumps..)
# Safeguard (relative paths, core dumps..)
cd
$basedir
cd
$basedir
...
@@ -154,7 +154,7 @@ case "$mode" in
...
@@ -154,7 +154,7 @@ case "$mode" in
sleep
1
sleep
1
while
[
-s
$pid_file
-a
"
$flags
"
!=
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
]
while
[
-s
$pid_file
-a
"
$flags
"
!=
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
]
do
do
[
-z
"
$flags
"
]
&&
echo
-n
"Wait for mysqld to exit"
||
echo
-n
".
"
[
-z
"
$flags
"
]
&&
echo
"Wait for mysqld to exit
\c
"
||
echo
".
\c
"
flags
=
a
$flags
flags
=
a
$flags
sleep
1
sleep
1
done
done
...
...
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