MediaWiki REL1_35
|
Maintenance script that upgrade for log_id/log_deleted fields in a replication-safe way. More...
Public Member Functions | |
execute () | |
Public Attributes | |
$batchSize = 1000 | |
Database | $dbw |
$minTs = false | |
Private Member Functions | |
copyExactMatch ( $srcTable, $dstTable, $copyPos) | |
sync ( $srcTable, $dstTable) | |
Copy all rows from $srcTable to $dstTable. | |
Maintenance script that upgrade for log_id/log_deleted fields in a replication-safe way.
Definition at line 35 of file upgradeLogging.php.
|
private |
UpdateLogging::execute | ( | ) |
Definition at line 44 of file upgradeLogging.php.
References $wgDBTableOptions, DB_MASTER, sync(), and wfGetDB().
|
private |
Copy all rows from $srcTable to $dstTable.
string | $srcTable | |
string | $dstTable |
Definition at line 136 of file upgradeLogging.php.
References $batchSize, $minTs, copyExactMatch(), and wfTimestamp().
Referenced by execute().
UpdateLogging::$batchSize = 1000 |
Definition at line 41 of file upgradeLogging.php.
Referenced by sync().
Database UpdateLogging::$dbw |
Definition at line 40 of file upgradeLogging.php.
UpdateLogging::$minTs = false |
Definition at line 42 of file upgradeLogging.php.
Referenced by sync().