From: daniel Date: Fri, 8 Jun 2012 07:07:35 +0000 (+0200) Subject: use getSerializedData() when compressing the text store. X-Git-Tag: 1.31.0-rc.0~22097^2^2~132 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=4a6de690994f8650c30fdcef4b266d95f7f73eff;p=lhc%2Fweb%2Fwiklou.git use getSerializedData() when compressing the text store. --- diff --git a/maintenance/storage/testCompression.php b/maintenance/storage/testCompression.php index 9ae2633539..a2124c35d6 100644 --- a/maintenance/storage/testCompression.php +++ b/maintenance/storage/testCompression.php @@ -65,7 +65,7 @@ $uncompressedSize = 0; $t = -microtime( true ); foreach ( $res as $row ) { $revision = new Revision( $row ); - $text = $revision->getText(); + $text = $revision->getSerializedData(); $uncompressedSize += strlen( $text ); $hashes[$row->rev_id] = md5( $text ); $keys[$row->rev_id] = $blob->addItem( $text );