1mysql_store_result(3)         MariaDB Connector/C        mysql_store_result(3)
2
3
4
5   Name
6       mysql_store_result - returns a buffered result set
7
8   Synopsis
9              #include <mysql.h>
10
11              MYSQL_RES * mysql_store_result(MYSQL * mysql);
12
13   Description
14       Returns a buffered resultset from the last executed query.  ### Notes
15
16       • mysql_field_count() (imysql_field_count) indicates if there will be a
17         result set available.
18
19       • The memory allocated by mysql_store_result() needs to be released  by
20         calling the function mysql_free_result(3).
21
22   Parameters
23       • mysql  is  a connection identifier, which was previously allocated by
24         mysql_init(3) and connected by mysql_real_connect(3).
25
26   Return value
27       Returns a buffered result set or NULL in case an error  occured  or  if
28       the  query  didn’t  return data (e.g. when executing an INSERT, UPDATE,
29       DELETE or REPLACE statement).  ## See  also  *  mysql_free_result(3)  *
30       mysql_use_result(3) * mysql_real_query(3) * mysql_field_count(3)
31
32
33
34Version 3.2.2                                            mysql_store_result(3)
Impressum