|
MediaWiki
REL1_20
|
Used to debug transaction processing Only used if $wgDebugDBTransactions is true. More...
Public Member Functions | |
| __construct ($conn) | |
| check () | |
| update () | |
Static Public Attributes | |
| static | $WATCHED |
Protected Member Functions | |
| describe_changed ($status, $desc_table) | |
| log_changed ($old, $new, $watched) | |
Used to debug transaction processing Only used if $wgDebugDBTransactions is true.
Definition at line 136 of file DatabasePostgres.php.
| PostgresTransactionState::__construct | ( | $ | conn | ) |
Definition at line 158 of file DatabasePostgres.php.
References update().
Definition at line 171 of file DatabasePostgres.php.
References log_changed(), and update().
| PostgresTransactionState::describe_changed | ( | $ | status, |
| $ | desc_table | ||
| ) | [protected] |
Definition at line 191 of file DatabasePostgres.php.
Referenced by log_changed().
| PostgresTransactionState::log_changed | ( | $ | old, |
| $ | new, | ||
| $ | watched | ||
| ) | [protected] |
Definition at line 199 of file DatabasePostgres.php.
References describe_changed(), and wfDebug().
Referenced by check().
Definition at line 164 of file DatabasePostgres.php.
Referenced by __construct(), and check().
PostgresTransactionState::$WATCHED [static] |
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 138 of file DatabasePostgres.php.