1
0
mirror of https://github.com/MariaDB/server.git synced 2025-06-13 13:01:51 +03:00

Fix mysql_client_test failure introduced by a patch for Bug#47485.

The problem was that mysql_stmt_next_result() (new to 5.5)
was not properly updated.
This commit is contained in:
Dmitry Shulga
2010-09-09 19:36:57 +07:00
parent 06b70326ce
commit d88a11a766

View File

@ -4874,6 +4874,9 @@ int STDCALL mysql_stmt_next_result(MYSQL_STMT *stmt)
DBUG_RETURN(rc);
}
if (mysql->status == MYSQL_STATUS_GET_RESULT)
mysql->status= MYSQL_STATUS_STATEMENT_GET_RESULT;
stmt->state= MYSQL_STMT_EXECUTE_DONE;
stmt->bind_result_done= FALSE;