|
MediaWiki
master
|
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. More... | |
| $didbegin | |
| $id | |
Manage savepoints within a transaction.
Definition at line 114 of file DatabasePostgres.php.
| SavepointPostgres::__construct | ( | $dbw, | |
| $id | |||
| ) |
| DatabaseBase | $dbw | |
| int | $id |
Definition at line 124 of file DatabasePostgres.php.
| SavepointPostgres::__destruct | ( | ) |
Definition at line 135 of file DatabasePostgres.php.
| SavepointPostgres::__toString | ( | ) |
Definition at line 177 of file DatabasePostgres.php.
References query().
| SavepointPostgres::commit | ( | ) |
Definition at line 142 of file DatabasePostgres.php.
|
protected |
Definition at line 149 of file DatabasePostgres.php.
References $dbw, and DatabaseBase\begin().
Referenced by __toString().
| SavepointPostgres::release | ( | ) |
Definition at line 163 of file DatabasePostgres.php.
| SavepointPostgres::rollback | ( | ) |
Definition at line 170 of file DatabasePostgres.php.
| SavepointPostgres::savepoint | ( | ) |
Definition at line 156 of file DatabasePostgres.php.
|
protected |
Establish a savepoint within a transaction.
Definition at line 116 of file DatabasePostgres.php.
Referenced by query().
|
protected |
Definition at line 118 of file DatabasePostgres.php.
|
protected |
Definition at line 117 of file DatabasePostgres.php.