You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Travis and Appveyor integration:
- added travis support - fixed appveyor settings - fixed some warnings (gcc 4.8) - removed sleep commands - disabled failing tests when running against MySQL server, mostly related to stored procedures and binary protocol - reverted fix for MDEV_10361 Still open: TLS/SSL appveyor tests, since .msi installation on appveyor doesn't provide certificates.
This commit is contained in:
@@ -2537,7 +2537,11 @@ mysql_stat(MYSQL *mysql)
|
||||
int STDCALL
|
||||
mysql_ping(MYSQL *mysql)
|
||||
{
|
||||
return ma_simple_command(mysql, COM_PING,0,0,0,0);
|
||||
int rc;
|
||||
rc= ma_simple_command(mysql, COM_PING, 0, 0, 0, 0);
|
||||
if (rc && mysql_errno(mysql) == CR_SERVER_LOST)
|
||||
rc= ma_simple_command(mysql, COM_PING, 0, 0, 0, 0);
|
||||
return rc;
|
||||
}
|
||||
|
||||
char * STDCALL
|
||||
|
Reference in New Issue
Block a user