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
8b77e903
Commit
8b77e903
authored
Nov 26, 2009
by
Mikael Ronstrom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed kill_alarm test and got it working
parent
2361a596
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
configure.in
configure.in
+1
-0
mysql-test/r/kill_alarm.result
mysql-test/r/kill_alarm.result
+10
-0
mysql-test/t/kill_alarm.test
mysql-test/t/kill_alarm.test
+13
-0
No files found.
configure.in
View file @
8b77e903
...
...
@@ -923,6 +923,7 @@ AC_ARG_WITH(alarm,
AC_MSG_CHECKING
(
whether to use alarms to implement socket
timeout
)
if
test
"
$use_alarm
"
=
no
;
then
AC_DEFINE
([
NO_ALARM],
[
1],
[
No need to use alarm
for
socket
timeout
])
AC_DEFINE
([
SIGNAL_WITH_VIO_CLOSE],
[
1],
[
Need to use vio close
for
kill
connection]
)
fi
AC_MSG_RESULT
(
$use_alarm
)
...
...
mysql-test/r/kill_alarm.result
0 → 100644
View file @
8b77e903
show processlist;
Id User Host db Command Time State Info
2 root localhost test Sleep 0 NULL
3 root localhost test Sleep 0 NULL
4 root localhost test Query 0 NULL show processlist
kill connection 3;
show processlist;
Id User Host db Command Time State Info
2 root localhost test Sleep 4 NULL
4 root localhost test Query 0 NULL show processlist
mysql-test/t/kill_alarm.test
0 → 100644
View file @
8b77e903
--
source
include
/
not_embedded
.
inc
connect
(
con1
,
localhost
,
root
,,);
connect
(
con2
,
localhost
,
root
,,);
connection
con1
;
let
$ID
=
`select connection_id()`
;
connection
con2
;
show
processlist
;
eval
kill
connection
$ID
;
--
sleep
4
show
processlist
;
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