You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Windows build fixes
- use /MT flag instead of /MD - add debug libraries to package
This commit is contained in:
@@ -161,7 +161,8 @@ static int create_dyncol_num(MYSQL *mysql)
|
||||
|
||||
static int mdev_x1(MYSQL *mysql)
|
||||
{
|
||||
int i, rc;
|
||||
int rc;
|
||||
uint i;
|
||||
uint num_keys[5]= {1,2,3,4,5};
|
||||
char *strval[]= {"Val1", "Val2", "Val3", "Val4", "Val5"};
|
||||
DYNAMIC_COLUMN_VALUE vals[5];
|
||||
|
@@ -3798,6 +3798,7 @@ static int test_conc_5(MYSQL *mysql)
|
||||
|
||||
mysql_free_result(res);
|
||||
mysql_stmt_close(stmt);
|
||||
return OK;
|
||||
}
|
||||
|
||||
struct my_tests_st my_tests[] = {
|
||||
|
@@ -80,7 +80,7 @@ static int test_conc_27(MYSQL *mysql)
|
||||
#ifndef _WIN32
|
||||
pthread_create(&threads[i], NULL, (void *)thread_conc27, NULL);
|
||||
#else
|
||||
hthreads[i]= CreateThread(NULL, 0, thread_conc27, NULL, 0, &threads[i]);
|
||||
hthreads[i]= CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)thread_conc27, NULL, 0, &threads[i]);
|
||||
if (hthreads[i]==NULL)
|
||||
diag("error while starting thread");
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user