int mysql_read_query_result(MYSQL * mysql);mysql - a mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().
Returns zero on success, otherwise non-zero.
mysql_read_query_result() reads the result of a SQL statement executed with . If the SQL statement returned a resultset, it must be freed before the next call to mysql_read_query_result() is made. This is similar to how results from must be processed before another call can be made.