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

Merge branch '3.0' into 3.1

This commit is contained in:
Oleksandr Byelkin
2019-07-18 13:51:03 +02:00
3 changed files with 9 additions and 2 deletions

View File

@@ -23,6 +23,9 @@
#ifdef _WIN32 #ifdef _WIN32
#if !defined(HAVE_OPENSSL) #if !defined(HAVE_OPENSSL)
#define HAVE_WINCRYPT #define HAVE_WINCRYPT
#else
#pragma comment(lib, "crypt32.lib")
#pragma comment(lib, "ws2_32.lib")
#endif #endif
#endif #endif

View File

@@ -23,6 +23,9 @@
#ifdef _WIN32 #ifdef _WIN32
#if !defined(HAVE_OPENSSL) #if !defined(HAVE_OPENSSL)
#define HAVE_WINCRYPT #define HAVE_WINCRYPT
#else
#pragma comment(lib, "crypt32.lib")
#pragma comment(lib, "ws2_32.lib")
#endif #endif
#endif #endif

View File

@@ -5099,9 +5099,10 @@ static int test_conc424(MYSQL *mysql)
mysql_free_result(res); mysql_free_result(res);
} }
rc= mysql_stmt_next_result(stmt); rc= mysql_stmt_next_result(stmt);
} while (!rc); } while (!rc);
mysql_stmt_close(stmt);
rc= mysql_query(mysql, "DROP PROCEDURE testCursor"); rc= mysql_query(mysql, "DROP PROCEDURE testCursor");
check_mysql_rc(rc, mysql); check_mysql_rc(rc, mysql);
@@ -5109,7 +5110,7 @@ static int test_conc424(MYSQL *mysql)
check_mysql_rc(rc, mysql); check_mysql_rc(rc, mysql);
return OK; return OK;
} }
struct my_tests_st my_tests[] = { struct my_tests_st my_tests[] = {
{"test_conc424", test_conc424, TEST_CONNECTION_NEW, 0, NULL, NULL}, {"test_conc424", test_conc424, TEST_CONNECTION_NEW, 0, NULL, NULL},