MySQL Forums
Forum List  »  InnoDB

How to perform transaction using C API
Posted by: Richard Carver
Date: March 10, 2009 12:18PM

I was just wondering how to perform a transaction using the C API?

Do I first use mysql_autocommit() to turn off the "auto commit", then use mysql_query() for each command of the transaction and finally use mysql_commit() to execute/commit the transaction?

Thanks,
Rich

Options: ReplyQuote


Subject
Views
Written By
Posted
How to perform transaction using C API
2975
March 10, 2009 12:18PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.