MySQL 9.4 C API Developer Guide / ... / C API Basic Interface / C API Basic Function Descriptions / mysql_more_results()
boolmysql_more_results(MYSQL *mysql) This function is used when you execute multiple statements specified as a single statement string, or when you executeCALL statements, which can return multiple result sets.
mysql_more_results() true if more results exist from the currently executed statement, in which case the application must callmysql_next_result() to fetch the results.
TRUE (1) if more results exist.FALSE (0) if no more results exist.
In most cases, you can callmysql_next_result() instead to test whether more results exist and initiate retrieval if so.
SeeSection 3.6.3, “Multiple Statement Execution Support”, andSection 5.4.51, “mysql_next_result()”.