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
Smaller test case fixes
This commit is contained in:
@@ -265,7 +265,7 @@ static int test_frm_bug(MYSQL *mysql)
|
||||
sprintf(test_frm, "%s/%s/test_frm_bug.frm", data_dir, schema);
|
||||
|
||||
|
||||
if (!(test_file= fopen(test_frm, "rw")))
|
||||
if (!(test_file= fopen(test_frm, "w")))
|
||||
{
|
||||
mysql_stmt_close(stmt);
|
||||
diag("Can't write to file %s -> SKIP", test_frm);
|
||||
@@ -704,12 +704,6 @@ static int test_wl4284_1(MYSQL *mysql)
|
||||
return SKIP;
|
||||
}
|
||||
|
||||
if (!rc)
|
||||
{
|
||||
diag("InnoDB Storage engine not available");
|
||||
return SKIP;
|
||||
}
|
||||
|
||||
/* set AUTOCOMMIT to OFF */
|
||||
rc= mysql_autocommit(mysql, FALSE);
|
||||
check_mysql_rc(rc, mysql);
|
||||
|
Reference in New Issue
Block a user