1
0
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:
Georg Richter
2013-05-09 14:11:33 +02:00
parent be7b69c4ab
commit f6d4749279
3 changed files with 6 additions and 9 deletions

View File

@@ -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;
}