You are here : Cmysql/mysql.hmysql_autocommit

mysql_autocommit() - mysql/mysql.h

 Sets autocommit mode on if mode is 1, off if
        mode is 0.modemode


Syntax

my_bool mysql_autocommit(MYSQL *mysql, my_bool
        mode)


Example

 


Output / Return Value

 Zero for success. Nonzero if an error occurred.


Limitations


Alternatives / See Also


Reference