function DB_common::autoCommit in Flickr API 5
Enables or disables automatic commits
Parameters
bool $onoff true turns it on, false turns it off:
Return value
int DB_OK on success. A DB_Error object if the driver doesn't support auto-committing transactions.
2 methods override DB_common::autoCommit()
- DB_mysql::autoCommit in phpFlickr/
PEAR/ DB/ mysql.php - Enables or disables automatic commits
- DB_pgsql::autoCommit in phpFlickr/
PEAR/ DB/ pgsql.php - Enables or disables automatic commits
File
- phpFlickr/
PEAR/ DB/ common.php, line 1646
Class
- DB_common
- DB_common is the base class from which each database driver class extends
Code
function autoCommit($onoff = false) {
return $this
->raiseError(DB_ERROR_NOT_CAPABLE);
}