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
e4bde991
Commit
e4bde991
authored
Feb 03, 2004
by
ram@gw.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another variant (bug #2185: mysql.server script echo bug)
parent
d75674a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
support-files/mysql.server.sh
support-files/mysql.server.sh
+4
-6
No files found.
support-files/mysql.server.sh
View file @
e4bde991
...
...
@@ -60,11 +60,9 @@ export PATH
mode
=
$1
# start or stop
case
`
echo
"testing
\c
"
`
,
`
echo
-n
testing
`
in
*
c,
*
)
echo_n
=
-n
echo_c
=
;;
*
,-n
*
)
echo_n
=
echo_c
=
'\c'
;;
*
)
echo_n
=
echo_c
=
'
'
;;
*
c
*
,-n
*
)
echo_n
=
echo_c
=
' '
;;
*
c
*
,
*
)
echo_n
=
-n
echo_c
=
;;
*
)
echo_n
=
echo_c
=
'\c'
;;
esac
parse_arguments
()
{
...
...
@@ -177,7 +175,7 @@ case "$mode" in
sleep
1
while
[
-s
$pid_file
-a
"
$flags
"
!=
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
]
do
[
-z
"
$flags
"
]
&&
echo
$echo_n
"Wait for mysqld to exit
$echo_c
"
||
echo
$echo_n
".echo_c"
[
-z
"
$flags
"
]
&&
echo
$echo_n
"Wait for mysqld to exit
$echo_c
"
||
echo
$echo_n
".
$
echo_c
"
flags
=
a
$flags
sleep
1
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