Go to the source code of this file.
Variables | |
$optionsWithArgs = array( 'start', 'limit', 'type' ) | |
if(!isset($args[0])) | $title = Title::newFromText( $args[0] ) |
$dbr = wfGetDB( DB_SLAVE ) | |
$res | |
$blob = new $type | |
$hashes = array() | |
$keys = array() | |
$uncompressedSize = 0 | |
$t = -microtime( true ) | |
foreach($res as $row) | $serialized = serialize( $blob ) |
$blob = new $type |
Definition at line 41 of file testCompression.php.
Referenced by DBABagOStuff::add(), DBABagOStuff::decode(), Job::extractBlob(), LogPage::extractParams(), DBABagOStuff::set(), and wfGetPrecompiledData().
$dbr = wfGetDB( DB_SLAVE ) |
Definition at line 28 of file testCompression.php.
$hashes = array() |
Definition at line 42 of file testCompression.php.
Referenced by OrphanStats::execute(), LocalFileDeleteBatch::execute(), and LocalFileDeleteBatch::getHashes().
$keys = array() |
Definition at line 43 of file testCompression.php.
Referenced by TagToString::addAttributes(), EmailNotification::composeCommonMailtext(), BagOStuff::delete_multi(), DatabaseSqlite::fieldName(), Block::formatExpiry(), IPUnblockForm::formatRow(), FakeMemCachedClient::get_multi(), memcached::get_multi(), BagOStuff::get_multi(), DatabasePostgres::insert(), DatabaseMssql::insert(), DatabaseIbm_db2::insert(), Database::insert(), User::pingLimiter(), and PrefixSearch::specialSearch().
$optionsWithArgs = array( 'start', 'limit', 'type' ) |
Definition at line 3 of file testCompression.php.
$res |
Initial value:
$dbr->select( array( 'page', 'revision', 'text' ), '*', array( 'page_namespace' => $title->getNamespace(), 'page_title' => $title->getDBkey(), 'page_id=rev_page', 'rev_timestamp > ' . $dbr->addQuotes( $dbr->timestamp( $start ) ), 'rev_text_id=old_id' ), __FILE__, array( 'LIMIT' => $limit ) )
Definition at line 29 of file testCompression.php.
foreach ($res as $row) $serialized = serialize( $blob ) |
Definition at line 57 of file testCompression.php.
Referenced by MessageCache::loadFromLocal(), MessageCache::saveToCaches(), and MessageCache::saveToLocal().
foreach ($keys as $id=> $key) $t = -microtime( true ) |
Definition at line 45 of file testCompression.php.
if (!isset($args[0])) $title = Title::newFromText( $args[0] ) |
Definition at line 11 of file testCompression.php.
$uncompressedSize = 0 |
Definition at line 44 of file testCompression.php.