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
more test fixes
This commit is contained in:
@@ -46,9 +46,9 @@ static int basic_connect(MYSQL *mysql)
|
||||
check_mysql_rc(rc, my);
|
||||
|
||||
res= mysql_store_result(my);
|
||||
field= mysql_fetch_fields(res);
|
||||
FAIL_IF(!res, mysql_error(my));
|
||||
|
||||
field= mysql_fetch_fields(res);
|
||||
FAIL_IF(!field, "couldn't fetch field");
|
||||
while ((row= mysql_fetch_row(res)) != NULL)
|
||||
{
|
||||
FAIL_IF(mysql_num_fields(res) != 1, "Got the wrong number of fields");
|
||||
|
Reference in New Issue
Block a user