MediaWiki
REL1_24
|
Maintenance script that shows some statistics on the blob_orphans table, created with trackBlobs.php. More...
Public Member Functions | |
__construct () | |
execute () | |
Protected Member Functions | |
& | getDB ($cluster, $groups=array(), $wiki=false) |
Returns a database to be used by current maintenance script. |
Maintenance script that shows some statistics on the blob_orphans table, created with trackBlobs.php.
Definition at line 32 of file orphanStats.php.
Reimplemented from Maintenance.
Definition at line 33 of file orphanStats.php.
Reimplemented from Maintenance.
Definition at line 45 of file orphanStats.php.
References $dbr, $hashes, $res, $size, array(), as, Maintenance\error(), getDB(), Maintenance\output(), and wfGetDB().
& OrphanStats::getDB | ( | $ | db, |
$ | groups = array() , |
||
$ | wiki = false |
||
) | [protected] |
Returns a database to be used by current maintenance script.
It can be set by setDB(). If not set, wfGetDB() will be used. This function has the same parameters as wfGetDB()
Reimplemented from Maintenance.
Definition at line 39 of file orphanStats.php.
References $lb, and wfGetLBFactory().
Referenced by execute().