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

Test bugs fixes

This commit is contained in:
Anton Golovenko
2021-01-18 14:55:54 +05:00
parent 4083fd98e5
commit a7e888b518
5 changed files with 14 additions and 20 deletions

View File

@@ -881,7 +881,7 @@ static int test_get_options(MYSQL *unused __attribute__((unused)))
const char *attr_val[] = {"bar1", "bar2", "bar3"};
char **key, **val;
for (i=0; options_int[i]; i++)
for (i=0; i < sizeof(options_int)/sizeof(int); i++)
{
mysql_options(mysql, options_int[i], &intval[0]);
intval[1]= 0;