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
e919f8e8
Commit
e919f8e8
authored
Feb 21, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge neptunus.(none):/home/msvensson/mysql/bug14057/my50-bug14057
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
parents
674ee598
56acf0a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
libmysql/libmysql.c
libmysql/libmysql.c
+5
-1
No files found.
libmysql/libmysql.c
View file @
e919f8e8
...
@@ -1370,8 +1370,12 @@ mysql_stat(MYSQL *mysql)
...
@@ -1370,8 +1370,12 @@ mysql_stat(MYSQL *mysql)
int
STDCALL
int
STDCALL
mysql_ping
(
MYSQL
*
mysql
)
mysql_ping
(
MYSQL
*
mysql
)
{
{
int
res
;
DBUG_ENTER
(
"mysql_ping"
);
DBUG_ENTER
(
"mysql_ping"
);
DBUG_RETURN
(
simple_command
(
mysql
,
COM_PING
,
0
,
0
,
0
));
res
=
simple_command
(
mysql
,
COM_PING
,
0
,
0
,
0
);
if
(
res
==
CR_SERVER_LOST
&&
mysql
->
reconnect
)
res
=
simple_command
(
mysql
,
COM_PING
,
0
,
0
,
0
);
DBUG_RETURN
(
res
);
}
}
...
...
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