my_bool mysql_stmt_close(MYSQL_STMT *)
Closes the prepared statement.
mysql_stmt_close() also
deallocates the statement handle pointed to by
stmt.
If the current statement has pending or unread results, this function cancels them so that the next query can be executed.
Zero for success. Nonzero if an error occurred.
The MySQL server has gone away.
An unknown error occurred.
See the Example in Section 23.8.11.10, “mysql_stmt_execute()”.