SQLITE3_GET_AUTOCOMMIT(3) | Library Functions Manual | SQLITE3_GET_AUTOCOMMIT(3) |
sqlite3_get_autocommit
—
sqlite3_get_autocommit
(sqlite3*);
If certain kinds of errors occur on a statement within a multi-statement transaction (errors including SQLITE_FULL, SQLITE_IOERR, SQLITE_NOMEM, SQLITE_BUSY, and SQLITE_INTERRUPT) then the transaction might be rolled back automatically. The only way to find out whether SQLite automatically rolled back the transaction after an error is to use this function.
If another thread changes the autocommit status of the database connection while this routine is running, then the return value is undefined.
December 19, 2018 | NetBSD 9.2 |