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

erge branch '3.1' into 3.3

This commit is contained in:
Georg Richter
2022-08-01 12:26:27 +02:00
6 changed files with 7 additions and 10 deletions

View File

@@ -421,11 +421,9 @@ static int test_bug10736(MYSQL *mysql)
for (i= 0; i < 3; i++)
{
int row_no= 0;
rc= mysql_stmt_execute(stmt);
check_stmt_rc(rc, stmt);
while ((rc= mysql_stmt_fetch(stmt)) == 0)
++row_no;
while ((rc= mysql_stmt_fetch(stmt)) == 0);
FAIL_UNLESS(rc == MYSQL_NO_DATA, "rc != MYSQL_NO_DATA");
}
rc= mysql_stmt_close(stmt);