You are here

function DB_common::commit in Flickr API 5

Commits the current transaction

Return value

int DB_OK on success. A DB_Error object on failure.

2 methods override DB_common::commit()
DB_mysql::commit in phpFlickr/PEAR/DB/mysql.php
Commits the current transaction
DB_pgsql::commit in phpFlickr/PEAR/DB/pgsql.php
Commits the current transaction

File

phpFlickr/PEAR/DB/common.php, line 1659

Class

DB_common
DB_common is the base class from which each database driver class extends

Code

function commit() {
  return $this
    ->raiseError(DB_ERROR_NOT_CAPABLE);
}