DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(mysql.info) mysql-rollback

Info Catalog (mysql.info) mysql-reload (mysql.info) c-api-functions (mysql.info) mysql-row-seek
 
 22.2.3.56 `mysql_rollback()'
 ............................
 
 `my_bool mysql_rollback(MYSQL *mysql)'
 
 *Description*
 
 Rolls back the current transaction.
 
 As of MySQL 5.0.3, the action of this function is subject to the value
 of the `completion_type' system variable. In particular, if the value of
 `completion_type' is 2, the server performs a release after terminating
 a transaction and closes the client connection. The client program
 should call `mysql_close()' to close the connection from the client
 side.
 
 *Return Values*
 
 Zero if successful. Non-zero if an error occurred.
 
 *Errors*
 
 None.
 
Info Catalog (mysql.info) mysql-reload (mysql.info) c-api-functions (mysql.info) mysql-row-seek
automatically generated byinfo2html