-
Notifications
You must be signed in to change notification settings - Fork 256
mysql_free_result
Georg Richter edited this page Aug 15, 2018
·
2 revisions
mysql_free_result - Frees result set
#include <mysql.h>
void mysql_free_result(MYSQL_RES * result);
Frees the memory associated with a result set. Returns void.
-
result
- a result set identifier returned by mysql_store_result() or mysql_use_result().
- You should always free your result set with mysql_free_result() as soon it's not needed anymore
- Row values obtained by a prior mysql_fetch_row() call will become invalid after calling mysql_free_result().
MariaDB Connector/C Reference