=== modified file 'tests/mysql_client_test.c' --- tests/mysql_client_test.c 2013-02-26 08:24:00 +0000 +++ tests/mysql_client_test.c 2013-05-07 23:09:41 +0000 @@ -13480,11 +13480,9 @@ rc= mysql_stmt_execute(stmt); check_execute(stmt, rc); - while (! (rc= mysql_stmt_fetch(stmt))) - { - if (!opt_silent && i == 0) + if (!opt_silent && i == 0) + while (! (rc= mysql_stmt_fetch(stmt))) printf("Fetched row: %s\n", a); - } DIE_UNLESS(rc == MYSQL_NO_DATA); rc= mysql_stmt_execute(stmt);