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
5ac016a8
Commit
5ac016a8
authored
Jul 06, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge ymer.(none):/usr/local/mysql/mysql-5.0-bug19951
into ymer.(none):/usr/local/mysql/tmp-5.0
parents
567df161
224082fc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
mysql-test/r/wait_timeout.result
mysql-test/r/wait_timeout.result
+4
-0
mysql-test/t/wait_timeout.test
mysql-test/t/wait_timeout.test
+9
-3
No files found.
mysql-test/r/wait_timeout.result
View file @
5ac016a8
select 0;
0
0
flush status;
select 1;
1
1
...
...
mysql-test/t/wait_timeout.test
View file @
5ac016a8
...
...
@@ -9,16 +9,20 @@
# Connect with another connection and reset counters
--
disable_query_log
connect
(
wait_con
,
localhost
,
root
,,
test
,,);
flush
status
;
# Reset counters
connection
wait_con
;
set
session
wait_timeout
=
100
;
let
$retries
=
300
;
let
$aborted_clients
=
`SHOW STATUS LIKE 'aborted_clients'`
;
set
@
aborted_clients
=
0
;
--
enable_query_log
# Disable reconnect and do the query
connection
default
;
# If slow host (Valgrind...), we may have already timed out here.
# So force a reconnect if necessary, using a dummy query. And issue a
# 'flush status' to reset the 'aborted_clients' counter.
--
enable_reconnect
select
0
;
flush
status
;
--
disable_reconnect
select
1
;
...
...
@@ -46,6 +50,9 @@ connection default;
select
2
;
--
enable_reconnect
select
3
;
# Disconnect so that we will not be confused by a future abort from this
# connection.
disconnect
default
#
# Do the same test as above on a TCP connection
...
...
@@ -56,7 +63,6 @@ select 3;
connection
wait_con
;
flush
status
;
# Reset counters
let
$retries
=
300
;
let
$aborted_clients
=
`SHOW STATUS LIKE 'aborted_clients'`
;
set
@
aborted_clients
=
0
;
--
enable_query_log
...
...
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