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
Fixed CONC-9: removed winsock2 from mysql.h
Fixed CONC-24: reconnect failed mysql_reconnect didn't set reconnect flag for new connection
This commit is contained in:
@@ -527,6 +527,7 @@ static int test_reconnect(MYSQL *mysql)
|
||||
check_mysql_rc(rc, mysql1);
|
||||
diag("Thread_id after kill: %d", mysql_thread_id(mysql1));
|
||||
|
||||
FAIL_UNLESS(mysql1->reconnect == 1, "reconnect != 1");
|
||||
mysql_close(mysql1);
|
||||
return OK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user