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
b880d8aa
Commit
b880d8aa
authored
Dec 11, 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
eb1c2801
8a7ea3c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
client/mysqltest.c
client/mysqltest.c
+5
-0
No files found.
client/mysqltest.c
View file @
b880d8aa
...
@@ -2976,7 +2976,12 @@ void safe_connect(MYSQL* mysql, const char *name, const char *host,
...
@@ -2976,7 +2976,12 @@ void safe_connect(MYSQL* mysql, const char *name, const char *host,
if
((
mysql_errno
(
mysql
)
==
CR_CONN_HOST_ERROR
||
if
((
mysql_errno
(
mysql
)
==
CR_CONN_HOST_ERROR
||
mysql_errno
(
mysql
)
==
CR_CONNECTION_ERROR
)
&&
mysql_errno
(
mysql
)
==
CR_CONNECTION_ERROR
)
&&
failed_attempts
<
opt_max_connect_retries
)
failed_attempts
<
opt_max_connect_retries
)
{
verbose_msg
(
"Connect attempt %d/%d failed: %d: %s"
,
failed_attempts
,
opt_max_connect_retries
,
mysql_errno
(
mysql
),
mysql_error
(
mysql
));
my_sleep
(
connection_retry_sleep
);
my_sleep
(
connection_retry_sleep
);
}
else
else
{
{
if
(
failed_attempts
>
0
)
if
(
failed_attempts
>
0
)
...
...
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