|
MediaWiki
1.23.0
|
Maintenance script that upgrade for log_id/log_deleted fields in a replication-safe way. More...

Public Member Functions | |
| copyExactMatch ( $srcTable, $dstTable, $copyPos) | |
| execute () | |
| sync ( $srcTable, $dstTable) | |
| Copy all rows from $srcTable to $dstTable. More... | |
Public Attributes | |
| $batchSize = 1000 | |
| DatabaseBase | $dbw |
| $minTs = false | |
Maintenance script that upgrade for log_id/log_deleted fields in a replication-safe way.
Definition at line 32 of file upgradeLogging.php.
| UpdateLogging::copyExactMatch | ( | $srcTable, | |
| $dstTable, | |||
| $copyPos | |||
| ) |
| UpdateLogging::execute | ( | ) |
| UpdateLogging::sync | ( | $srcTable, | |
| $dstTable | |||
| ) |
Copy all rows from $srcTable to $dstTable.
Definition at line 127 of file upgradeLogging.php.
References $batch, $batchSize, $minTs, array(), as, copyExactMatch(), TS_UNIX, wfTimestamp(), and wfWaitForSlaves().
Referenced by execute().
| UpdateLogging::$batchSize = 1000 |
Definition at line 37 of file upgradeLogging.php.
Referenced by sync().
| DatabaseBase UpdateLogging::$dbw |
Definition at line 36 of file upgradeLogging.php.
| UpdateLogging::$minTs = false |
Definition at line 38 of file upgradeLogging.php.
Referenced by sync().