MediaWiki
REL1_24
|
Used to debug transaction processing Only used if $wgDebugDBTransactions is true. More...
Public Member Functions | |
__construct ($conn) | |
check () | |
update () | |
Protected Member Functions | |
describe_changed ($status, $desc_table) | |
log_changed ($old, $new, $watched) | |
Private Attributes | |
array | $mCurrentState |
* | |
array | $mNewState |
* | |
Static Private Attributes | |
static | $WATCHED |
Used to debug transaction processing Only used if $wgDebugDBTransactions is true.
Definition at line 138 of file DatabasePostgres.php.
PostgresTransactionState::__construct | ( | $ | conn | ) |
Definition at line 163 of file DatabasePostgres.php.
References update().
Definition at line 176 of file DatabasePostgres.php.
PostgresTransactionState::describe_changed | ( | $ | status, |
$ | desc_table | ||
) | [protected] |
Definition at line 195 of file DatabasePostgres.php.
PostgresTransactionState::log_changed | ( | $ | old, |
$ | new, | ||
$ | watched | ||
) | [protected] |
Definition at line 203 of file DatabasePostgres.php.
Definition at line 169 of file DatabasePostgres.php.
Referenced by __construct().
array PostgresTransactionState::$mCurrentState [private] |
*
Definition at line 161 of file DatabasePostgres.php.
array PostgresTransactionState::$mNewState [private] |
*
Definition at line 159 of file DatabasePostgres.php.
PostgresTransactionState::$WATCHED [static, private] |
array( array( "desc" => "%s: Connection state changed from %s -> %s\n", "states" => array( PGSQL_CONNECTION_OK => "OK", PGSQL_CONNECTION_BAD => "BAD" ) ), array( "desc" => "%s: Transaction state changed from %s -> %s\n", "states" => array( PGSQL_TRANSACTION_IDLE => "IDLE", PGSQL_TRANSACTION_ACTIVE => "ACTIVE", PGSQL_TRANSACTION_INTRANS => "TRANS", PGSQL_TRANSACTION_INERROR => "ERROR", PGSQL_TRANSACTION_UNKNOWN => "UNKNOWN" ) ) )
Definition at line 139 of file DatabasePostgres.php.