UpdateLogging Class Reference

List of all members.

Public Member Functions

 execute ()
 sync ($srcTable, $dstTable)
 Copy all rows from $srcTable to $dstTable.
 copyExactMatch ($srcTable, $dstTable, $copyPos)

Public Attributes

 $dbw
 $batchSize = 1000
 $minTs = false


Detailed Description

Definition at line 11 of file upgradeLogging.php.


Member Function Documentation

UpdateLogging::copyExactMatch ( srcTable,
dstTable,
copyPos 
)

Definition at line 153 of file upgradeLogging.php.

Referenced by sync().

UpdateLogging::execute (  ) 

Definition at line 16 of file upgradeLogging.php.

References $sql, $wgDBTableOptions, is(), output(), sync(), times, and wfGetDB().

UpdateLogging::sync ( srcTable,
dstTable 
)

Copy all rows from $srcTable to $dstTable.

Definition at line 103 of file upgradeLogging.php.

References $batch, $batchSize, $conds, $minTs, copyExactMatch(), printf(), wfTimestamp(), and wfWaitForSlaves().

Referenced by execute().


Member Data Documentation

UpdateLogging::$batchSize = 1000

Definition at line 13 of file upgradeLogging.php.

Referenced by sync().

UpdateLogging::$dbw

Definition at line 12 of file upgradeLogging.php.

UpdateLogging::$minTs = false

Definition at line 14 of file upgradeLogging.php.

Referenced by sync().


The documentation for this class was generated from the following file:

Generated on Sat Sep 5 02:08:49 2009 for MediaWiki by  doxygen 1.5.9