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

Several test fixes

This commit is contained in:
holzboote@googlemail.com
2013-07-24 07:01:48 +02:00
parent ab2403287d
commit 077afd8e10
7 changed files with 39 additions and 18 deletions

View File

@@ -381,6 +381,8 @@ static int test_prepare_syntax(MYSQL *mysql)
rc= mysql_commit(mysql);
check_mysql_rc(rc, mysql);
mysql_stmt_close(stmt);
return OK;
}
@@ -561,6 +563,8 @@ static int test_prepare_multi_statements(MYSQL *mysql)
rc= mysql_stmt_prepare(stmt, query, strlen(query));
FAIL_IF(!rc, "Error expected");
mysql_stmt_close(stmt);
return OK;
}