function DB_common::rollback in Flickr API 5
Reverts the current transaction
Return value
int DB_OK on success. A DB_Error object on failure.
2 methods override DB_common::rollback()
- DB_mysql::rollback in phpFlickr/
PEAR/ DB/ mysql.php - Reverts the current transaction
- DB_pgsql::rollback in phpFlickr/
PEAR/ DB/ pgsql.php - Reverts the current transaction
File
- phpFlickr/
PEAR/ DB/ common.php, line 1672
Class
- DB_common
- DB_common is the base class from which each database driver class extends
Code
function rollback() {
return $this
->raiseError(DB_ERROR_NOT_CAPABLE);
}