void mysql_free_result(MYSQL_RES *result)
mysql_free_result() is a
synchronous function. Its asynchronous counterpart is
for use by applications that require asynchronous
communication with the server. See
Section 28.7.11, “C API Asynchronous Interface”.
mysql_free_result() frees the
memory allocated for a result set by
mysql_list_dbs(), and so
forth. When you are done with a result set, you must free the
memory it uses by calling
Do not attempt to access a result set after freeing it.