Skip to content

mysql_more_results

Georg Richter edited this page Aug 16, 2018 · 1 revision

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().

Parameter

Notes

  • The function mysql_set_server_option() enables or disables multi statement support.
  • 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

Clone this wiki locally