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

Test case fixes:

- remove table af end of test
- fixed memory leak (missing mysql_free_result)
This commit is contained in:
Georg Richter
2021-07-09 06:38:28 +02:00
parent fffa8167d8
commit 4853464ed2
2 changed files with 6 additions and 4 deletions

View File

@@ -848,8 +848,10 @@ static int test_conc49(MYSQL *mysql)
row= mysql_fetch_row(res);
if (atol(row[0]) == 0) {
diag("Load local infile disable");
mysql_free_result(res);
return SKIP;
}
mysql_free_result(res);
fp= fopen("./sample.csv", "w");
for (i=1; i < 4; i++)