You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
CONC-49 fixup
test_conc49(): Do not leak memory.
This commit is contained in:
@@ -844,7 +844,10 @@ static int test_conc49(MYSQL *mysql)
|
||||
check_mysql_rc(rc, mysql);
|
||||
res= mysql_store_result(mysql);
|
||||
row= mysql_fetch_row(res);
|
||||
if (atol(row[0]) == 0) {
|
||||
|
||||
i= !atol(row[0]);
|
||||
mysql_free_result(res);
|
||||
if (i) {
|
||||
diag("Load local infile disable");
|
||||
return SKIP;
|
||||
}
|
||||
|
Reference in New Issue
Block a user