1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Added mingw support (Win32). Special thanks to Eric Trinh for his patch!

This commit is contained in:
holzboote@googlemail.com
2014-01-11 20:09:32 +01:00
parent e2afef3163
commit a6ee40ab8e
8 changed files with 33 additions and 14 deletions

View File

@@ -522,10 +522,8 @@ static int test_reconnect(MYSQL *mysql)
diag("Thread_id before kill: %lu", mysql_thread_id(mysql1));
mysql_kill(mysql, mysql_thread_id(mysql1));
sleep(2);
sleep(4);
rc= mysql_query(mysql1, "SELECT 1 FROM DUAL LIMIT 0");
FAIL_IF(rc == 0, "error expected");
rc= mysql_query(mysql1, "SELECT 1 FROM DUAL LIMIT 0");
check_mysql_rc(rc, mysql1);
diag("Thread_id after kill: %lu", mysql_thread_id(mysql1));