Name
mysql_rollback( )
Synopsis
my_bool mysql_rollback(MYSQL *mysql)
Use this to roll back or
reverse the current transaction. This will not work if the
mysql_commit( )
function has already been called
for the transaction. The function returns 0 if successful, nonzero if
unsuccessful.
Get MySQL in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.