1
0
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:
Georg Richter
2017-03-23 16:53:00 +01:00
parent 63e0897d43
commit 082b165c6d
3 changed files with 30 additions and 8 deletions

View File

@@ -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);