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
5b77e339
Commit
5b77e339
authored
Dec 23, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed test case after HANDLER CLOSE fix
parent
a3a93da6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
20 deletions
+26
-20
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+24
-20
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+1
-0
mysql-test/t/innodb.test
mysql-test/t/innodb.test
+1
-0
No files found.
mysql-test/mysql-test-run.sh
View file @
5b77e339
...
...
@@ -903,16 +903,18 @@ stop_slave ()
manager_term
$slave_ident
if
[
$?
!=
0
]
&&
[
-f
$slave_pid
]
then
# try harder!
$ECHO
"slave not cooperating with mysqladmin, will try manual kill"
kill
`
$CAT
$slave_pid
`
sleep_until_file_deleted
$slave_pid
if
[
-f
$slave_pid
]
;
then
$ECHO
"slave refused to die. Sending SIGKILL"
kill
-9
`
$CAT
$slave_pid
`
$RM
-f
$slave_pid
else
$ECHO
"slave responded to SIGTERM "
fi
$ECHO
"slave not cooperating with mysqladmin, will try manual kill"
kill
`
$CAT
$slave_pid
`
sleep_until_file_deleted
$slave_pid
if
[
-f
$slave_pid
]
;
then
$ECHO
"slave refused to die. Sending SIGKILL"
kill
-9
`
$CAT
$slave_pid
`
$RM
-f
$slave_pid
else
$ECHO
"slave responded to SIGTERM "
fi
else
sleep
$SLEEP_TIME_AFTER_RESTART
fi
eval
"SLAVE
$1_RUNNING
=0"
fi
...
...
@@ -925,16 +927,18 @@ stop_master ()
manager_term master
if
[
$?
!=
0
]
&&
[
-f
$MASTER_MYPID
]
then
# try harder!
$ECHO
"master not cooperating with mysqladmin, will try manual kill"
kill
`
$CAT
$MASTER_MYPID
`
sleep_until_file_deleted
$MASTER_MYPID
if
[
-f
$MASTER_MYPID
]
;
then
$ECHO
"master refused to die. Sending SIGKILL"
kill
-9
`
$CAT
$MASTER_MYPID
`
$RM
-f
$MASTER_MYPID
else
$ECHO
"master responded to SIGTERM "
fi
$ECHO
"master not cooperating with mysqladmin, will try manual kill"
kill
`
$CAT
$MASTER_MYPID
`
sleep_until_file_deleted
$MASTER_MYPID
if
[
-f
$MASTER_MYPID
]
;
then
$ECHO
"master refused to die. Sending SIGKILL"
kill
-9
`
$CAT
$MASTER_MYPID
`
$RM
-f
$MASTER_MYPID
else
$ECHO
"master responded to SIGTERM "
fi
else
sleep
$SLEEP_TIME_AFTER_RESTART
fi
MASTER_RUNNING
=
0
fi
...
...
mysql-test/r/innodb.result
View file @
5b77e339
...
...
@@ -909,4 +909,5 @@ Table handler for 't1' doesn't have this option
handler t1 read t first;
Unknown table 't1' in HANDLER
handler t1 close;
Unknown table 't1' in HANDLER
drop table t1;
mysql-test/t/innodb.test
View file @
5b77e339
...
...
@@ -574,5 +574,6 @@ desc t1;
handler
t1
open
t1
;
--
error
1109
handler
t1
read
t
first
;
--
error
1109
handler
t1
close
;
drop
table
t1
;
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