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
C/C integration : Fix mysql_test_client test
- #include <stdlib.h> for strtod and other prototypes - remove ma_config_win.h as it redefines things from ma_config.h - fix compile warnings
This commit is contained in:
@@ -8,7 +8,7 @@ static int aurora1(MYSQL *my)
|
||||
{
|
||||
int rc;
|
||||
my_bool read_only= 1;
|
||||
const char *primary, *my_schema;
|
||||
char *primary, *my_schema;
|
||||
MYSQL_RES *res;
|
||||
MYSQL *mysql= mysql_init(NULL);
|
||||
|
||||
@@ -75,7 +75,7 @@ static int test_reconnect(MYSQL *my)
|
||||
my_bool read_only= 1;
|
||||
int rc;
|
||||
my_bool reconnect= 1;
|
||||
const char *aurora_host;
|
||||
char *aurora_host;
|
||||
|
||||
mysql_options(mysql, MYSQL_OPT_RECONNECT, &reconnect);
|
||||
|
||||
|
Reference in New Issue
Block a user