Skip to content

Commit 73d5eac

Browse files
committed
Fix crash (double close) introduced by PR#275
1 parent e240810 commit 73d5eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittest/libmariadb/misc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ static int test_frm_bug(MYSQL *mysql)
310310
fclose(test_file);
311311
FAIL_IF(!row, "couldn't fetch row");
312312

313-
if(row[17] != 0)
313+
if(row[17] == 0)
314314
fclose(test_file);
315315
FAIL_UNLESS(row[17] != 0, "row[17] != 0");
316316

0 commit comments

Comments
 (0)