FreeBSD manual

download PDF document: mysql_more_results.3.pdf

mysql_more_results(3) MariaDB Connector/C mysql_more_results(3)
Name mysql_more_results - indicates if one or more results are available
Synopsis
#include <mysql.h>
my_bool mysql_more_results(MYSQL * mysql);

Description Indicates if one or more result sets are available from a previous call to mysql_real_query(3).
Parameter o mysql - a connection identifier, which was previously allocated by mysql_init(3) and connected by mysql_real_connect(3).
Notes o The function mysql_set_server_option(3) enables or disables multi statement support.
o Multiple result sets can be obtained either by calling a stored procedure or by executing concatenated statements, e.g. SELECT a FROM t1;SELECT b, c FROM t2.
Return value Returns 1 if more result sets are available, otherwise zero.
See also o mysql_real_query(3)
o mysql_use_result(3)
o mysql_store_result(3)
o mysql_next_result(3)
o mysql_set_server_option(3)
Version 3.3.1 mysql_more_results(3)