MediaWiki REL1_27
|
Manage savepoints within a transaction. More...
Public Member Functions | |
__construct ( $dbw, $id) | |
__destruct () | |
__toString () | |
commit () | |
release () | |
rollback () | |
savepoint () | |
Protected Member Functions | |
query ( $keyword, $msg_ok, $msg_failed) | |
Protected Attributes | |
DatabasePostgres | $dbw |
Establish a savepoint within a transaction. | |
$didbegin | |
$id | |
Manage savepoints within a transaction.
Definition at line 136 of file DatabasePostgres.php.
SavepointPostgres::__construct | ( | $dbw, | |
$id | |||
) |
DatabaseBase | $dbw | |
int | $id |
Definition at line 146 of file DatabasePostgres.php.
References $dbw, $id, DatabaseBase\begin(), and DatabaseBase\trxLevel().
SavepointPostgres::__destruct | ( | ) |
Definition at line 157 of file DatabasePostgres.php.
SavepointPostgres::__toString | ( | ) |
Definition at line 199 of file DatabasePostgres.php.
References $id.
SavepointPostgres::commit | ( | ) |
Definition at line 164 of file DatabasePostgres.php.
|
protected |
Definition at line 171 of file DatabasePostgres.php.
References wfDebug().
Referenced by release(), rollback(), and savepoint().
SavepointPostgres::release | ( | ) |
Definition at line 185 of file DatabasePostgres.php.
References query().
SavepointPostgres::rollback | ( | ) |
Definition at line 192 of file DatabasePostgres.php.
References query().
SavepointPostgres::savepoint | ( | ) |
Definition at line 178 of file DatabasePostgres.php.
References query().
|
protected |
Establish a savepoint within a transaction.
Definition at line 138 of file DatabasePostgres.php.
Referenced by __construct().
|
protected |
Definition at line 140 of file DatabasePostgres.php.
|
protected |
Definition at line 139 of file DatabasePostgres.php.
Referenced by __construct(), and __toString().