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
2f79d20b
Commit
2f79d20b
authored
Dec 04, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
parents
128b73fc
33c248ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
client/mysqltest.c
client/mysqltest.c
+4
-2
No files found.
client/mysqltest.c
View file @
2f79d20b
...
...
@@ -2979,10 +2979,12 @@ void safe_connect(MYSQL* mysql, const char *name, const char *host,
Connect failed
Only allow retry if this was an error indicating the server
could not be contacted
could not be contacted. Error code differs depending
on protocol/connection type
*/
if
(
mysql_errno
(
mysql
)
==
CR_CONNECTION_ERROR
&&
if
((
mysql_errno
(
mysql
)
==
CR_CONN_HOST_ERROR
||
mysql_errno
(
mysql
)
==
CR_CONNECTION_ERROR
)
&&
failed_attempts
<
opt_max_connect_retries
)
my_sleep
(
connection_retry_sleep
);
else
...
...
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