mysql_free_result
mysql_free_result releases the memory allocated for a MariaDB result set; row values obtained from prior mysql_fetch_row calls become invalid after this call.
Syntax
void mysql_free_result(MYSQL_RES * result);Parameter
result- a result set identifier returned by mysql_store_result() or mysql_use_result().
Description
Frees the memory associated with a result set.
Return Value
Returns void.
See Also
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

