1mysql_free_result(3) MariaDB Connector/C mysql_free_result(3)
2
3
4
5 Name
6 mysql_free_result - Frees result set
7
8 Synopsis
9 #include <mysql.h>
10
11 void mysql_free_result(MYSQL_RES * result);
12
13 Description
14 Frees the memory associated with a result set. Returns void.
15
16 Parameters
17 • result - a result set identifier returned by mysql_store_result(3) or
18 mysql_use_result(3).
19
20 Notes
21 • You should always free your result set with mysql_free_result() as
22 soon it’s not needed anymore
23
24 • Row values obtained by a prior mysql_fetch_row(3) call will become
25 invalid after calling mysql_free_result().
26
27 See also
28 • mysql_store_result(3)
29
30 • mysql_use_result(3)
31
32
33
34Version 3.2.2 mysql_free_result(3)