You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
Fix unit test.
Fix send() prototype
This commit is contained in:
@@ -981,8 +981,13 @@ static int test_sess_track_db(MYSQL *mysql)
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
static int test_unix_socket_close(MYSQL *unused __attribute__((unused)))
|
||||
{
|
||||
#ifdef _WIN32
|
||||
diag("test does not run on Windows");
|
||||
return SKIP;
|
||||
#else
|
||||
MYSQL *mysql= mysql_init(NULL);
|
||||
FILE *fp;
|
||||
int i;
|
||||
@@ -1007,8 +1012,10 @@ static int test_unix_socket_close(MYSQL *unused __attribute__((unused)))
|
||||
}
|
||||
mysql_close(mysql);
|
||||
return OK;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
static int test_reset(MYSQL *mysql)
|
||||
{
|
||||
int rc;
|
||||
|
Reference in New Issue
Block a user