Function SET-AUTOCOMMIT — Turn on or off autocommit for a database.
Function
set-autocommit value &key database => result
A Boolean specifying the desired autocommit behaviour for database.
A database object. This will default to the value of *default-database*.
The previous autocommit value for database.
Turns autocommit off for database if value is NIL, and otherwise turns it on. Returns the old value of autocommit flag.
For RDBMS (such as Oracle) which don't automatically commit changes, turning autocommit on has the effect of explicitly committing changes made whenever SQL statements are executed.
Autocommit is turned on by default.
database is associated with the specified autocommit mode.
None.
None.
set-autocommit is a CLSQL extension.