1mysql_more_results(3) MariaDB Connector/C mysql_more_results(3)
2
3
4
5 Name
6 mysql_more_results - indicates if one or more results are available
7
8 Synopsis
9 #include <mysql.h>
10
11 my_bool mysql_more_results(MYSQL * mysql);
12
13 Description
14 Indicates if one or more result sets are available from a previous call
15 to mysql_real_query(3).
16
17 Parameter
18 • mysql - a connection identifier, which was previously allocated by
19 mysql_init(3) and connected by mysql_real_connect(3).
20
21 Notes
22 • The function mysql_set_server_option(3) enables or disables multi
23 statement support.
24
25 • Multiple result sets can be obtained either by calling a stored pro‐
26 cedure or by executing concatenated statements, e.g. SELECT a FROM
27 t1;SELECT b, c FROM t2.
28
29 Return value
30 Returns 1 if more result sets are available, otherwise zero.
31
32 See also
33 • mysql_real_query(3)
34
35 • mysql_use_result(3)
36
37 • mysql_store_result(3)
38
39 • mysql_next_result(3)
40
41 • mysql_set_server_option(3)
42
43
44
45Version 3.3.1 mysql_more_results(3)