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
146994ed
Commit
146994ed
authored
Mar 18, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 'kill' test to actually test that the connection has
been killed.
parent
7de90716
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
mysql-test/r/kill.result
mysql-test/r/kill.result
+6
-0
mysql-test/t/kill.test
mysql-test/t/kill.test
+3
-2
No files found.
mysql-test/r/kill.result
View file @
146994ed
...
@@ -5,6 +5,12 @@ select ((@id := kill_id) - kill_id) from t1;
...
@@ -5,6 +5,12 @@ select ((@id := kill_id) - kill_id) from t1;
((@id := kill_id) - kill_id)
((@id := kill_id) - kill_id)
0
0
kill @id;
kill @id;
select ((@id := kill_id) - kill_id) from t1;
((@id := kill_id) - kill_id)
0
select @id != connection_id();
@id != connection_id()
1
select 4;
select 4;
4
4
4
4
...
...
mysql-test/t/kill.test
View file @
146994ed
...
@@ -27,8 +27,9 @@ kill @id;
...
@@ -27,8 +27,9 @@ kill @id;
--
sleep
5
--
sleep
5
# verify that con1 is doning a reconnect
# verify that con1 is doning a reconnect
connection
con1
;
connection
con1
;
ping
--
ping
ping
--
ping
select
((
@
id
:=
kill_id
)
-
kill_id
)
from
t1
;
select
@
id
!=
connection_id
();
select
@
id
!=
connection_id
();
#make sure the server is still alive
#make sure the server is still alive
...
...
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