DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(mysql.info.gz) mysql_stmt_close

Info Catalog (mysql.info.gz) mysql_stmt_bind_result (mysql.info.gz) C API Prepared statement functions (mysql.info.gz) 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.
 
 This function was added in MySQL 4.1.0.
 
 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()' mysql_stmt_execute.
 
Info Catalog (mysql.info.gz) mysql_stmt_bind_result (mysql.info.gz) C API Prepared statement functions (mysql.info.gz) mysql_stmt_data_seek
automatically generated byinfo2html