(mysql.info) mysql-stmt-close
Info Catalog
(mysql.info) mysql-stmt-bind-result
(mysql.info) c-api-prepared-statement-functions
(mysql.info) mysql-stmt-data-seek
22.2.7.6 `mysql_stmt_close()'
.............................
`my_bool mysql_stmt_close(MYSQL_STMT *)'
*Description*
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.
*Return Values*
Zero if the statement was freed successfully. Non-zero if an error
occurred.
*Errors*
* `CR_SERVER_GONE_ERROR'
The MySQL server has gone away.
* `CR_UNKNOWN_ERROR'
An unknown error occurred.
*Example*
For the usage of `mysql_stmt_close()', refer to the Example from
mysql-stmt-execute.
Info Catalog
(mysql.info) mysql-stmt-bind-result
(mysql.info) c-api-prepared-statement-functions
(mysql.info) mysql-stmt-data-seek
automatically generated byinfo2html