The world's most popular open source database
my_bool mysql_autocommit(MYSQL *mysql, my_bool
mode)
Description
Sets autocommit mode on if mode is 1, off if
mode is 0.
Return Values
Zero if successful. Non-zero if an error occurred.
Errors
None.


User Comments
Please note that mysql_autocommit() must be called AFTER mysql_connect(). When called before mysql_connect, mysql_autocommit() may cause a segmentation violation. If you are having a problem with segmentation faults, check your order of operations. Cheers.
Add your own comment.