mysql - a mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().
Prepares next result set from a previous call to which can be retrieved by or . Returns zero on success, nonzero if an error occurred.
int mysql_next_result(MYSQL * mysql);