my_bool mysql_stmt_close(MYSQL_STMT *)
Closes the prepared statement.
deallocates the statement handle pointed to by
If the current statement has pending or unread results, this function cancels them so that the next query can be executed.
This function was added in MySQL 4.1.0.
Zero if the statement was freed successfully. Nonzero if an error occurred.
See the Example in Section 18.104.22.168, “mysql_stmt_execute()”.