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

Merge pull request #153 from Antchel/3.1

test fixes
This commit is contained in:
Georg Richter
2022-01-23 21:08:32 +01:00
committed by GitHub
7 changed files with 16 additions and 23 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;