MediaWiki REL1_34
|
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. | |
Public Attributes | |
$batchSize = 1000 | |
Database | $dbw |
$minTs = false | |
Maintenance script that upgrade for log_id/log_deleted fields in a replication-safe way.
Definition at line 34 of file upgradeLogging.php.
UpdateLogging::copyExactMatch | ( | $srcTable, | |
$dstTable, | |||
$copyPos ) |
UpdateLogging::execute | ( | ) |
Definition at line 43 of file upgradeLogging.php.
References $wgDBTableOptions, DB_MASTER, sync(), and wfGetDB().
UpdateLogging::sync | ( | $srcTable, | |
$dstTable ) |
Copy all rows from $srcTable to $dstTable.
string | $srcTable | |
string | $dstTable |
Definition at line 133 of file upgradeLogging.php.
References $batchSize, $minTs, copyExactMatch(), wfTimestamp(), and wfWaitForSlaves().
Referenced by execute().
UpdateLogging::$batchSize = 1000 |
Definition at line 40 of file upgradeLogging.php.
Referenced by sync().
Database UpdateLogging::$dbw |
Definition at line 39 of file upgradeLogging.php.
UpdateLogging::$minTs = false |
Definition at line 41 of file upgradeLogging.php.
Referenced by sync().