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
7789f3d5
Commit
7789f3d5
authored
Mar 21, 2012
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
07de9ab7
545d740c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mysql-test/suite/rpl/t/rpl_start_stop_slave.test
mysql-test/suite/rpl/t/rpl_start_stop_slave.test
+4
-4
No files found.
mysql-test/suite/rpl/t/rpl_start_stop_slave.test
View file @
7789f3d5
...
...
@@ -28,7 +28,8 @@ set @time_before_kill := (select CURRENT_TIMESTAMP);
--
replace_regex
/
kill
[
0
-
9
]
*/
kill
<
connection_id
>/
--
eval
kill
$connection_id
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
information_schema
.
processlist
where
id
=
$connection_id
;
--
source
include
/
wait_condition
.
inc
set
@
time_after_kill
:=
(
select
CURRENT_TIMESTAMP
);
--
echo
[
Time
after
the
query
]
...
...
@@ -38,10 +39,9 @@ if(`select TIMESTAMPDIFF(SECOND,@time_after_kill, @time_before_kill) > 60`)
--
echo
# assert : The difference between the timestamps 'time_after_kill' and 'time_before_kill' should be less than 60sec.
--
die
}
--
echo
[
Killing
of
the
slave
IO
thread
was
successful
]
--
disable_warnings
START
SLAVE
IO_THREAD
;
--
enable_warnings
# End of test
--
source
include
/
rpl_end
.
inc
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