Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual Excerpts from this Manual mysql_stmt_free_result()

my_bool mysql_stmt_free_result(MYSQL_STMT *stmt)


Releases memory associated with the result set produced by execution of the prepared statement. If there is a cursor open for the statement, mysql_stmt_free_result() closes it.

Return Values

Zero for success. Nonzero if an error occurred.


Download this Manual
User Comments
Sign Up Login You must be logged in to post a comment.