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
1055e525
Commit
1055e525
authored
Mar 16, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failure in 'kill' test due to change of default
reconnect setting in mysql client library. (Bug #8866)
parent
d6c893bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
client/mysqltest.c
client/mysqltest.c
+11
-1
No files found.
client/mysqltest.c
View file @
1055e525
...
...
@@ -1695,7 +1695,11 @@ int safe_connect(MYSQL* con, const char* host, const char* user,
}
sleep
(
CON_RETRY_SLEEP
);
}
con
->
reconnect
=
1
;
/* TODO: change this to 0 in future versions */
/*
TODO: change this to 0 in future versions, but the 'kill' test relies on
existing behavior
*/
con
->
reconnect
=
1
;
return
con_error
;
}
...
...
@@ -1790,6 +1794,12 @@ int connect_n_handle_errors(struct st_query *q, MYSQL* con, const char* host,
goto
err
;
}
/*
TODO: change this to 0 in future versions, but the 'kill' test relies on
existing behavior
*/
con
->
reconnect
=
1
;
if
(
record
)
{
if
(
!
q
->
record_file
[
0
]
&&
!
result_file
)
...
...
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