You are here : cpp0mysql_free_result

mysql_free_result() - 0

 Frees the memory allocated for a result set by
        mysql_store_result(),
        mysql_use_result(),
        mysql_list_dbs(), and so forth.
        When you are done with a result set, you must free the memory it
        uses by calling
        mysql_free_result().mysql_store_result()mysql_store_result()mysql_use_result()mysql_use_result()mysql_list_dbs()mysql_list_dbs()mysql_free_result()mysql_free_result()Do not attempt to access a result set after freeing it.


Syntax

void mysql_free_result(MYSQL_RES *result)


Example

 


Output / Return Value

 None.


Limitations


Alternatives / See Also


Reference