From: Brion Vibber Date: Tue, 7 Sep 2004 02:25:50 +0000 (+0000) Subject: Fix parse error X-Git-Tag: 1.5.0alpha1~2073 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=6d85b2c697f3ac398e0b06bcb0619b8d8c2d882a;p=lhc%2Fweb%2Fwiklou.git Fix parse error --- diff --git a/maintenance/compressOld.inc b/maintenance/compressOld.inc index c99eac4e22..a438bfa14e 100644 --- a/maintenance/compressOld.inc +++ b/maintenance/compressOld.inc @@ -14,7 +14,7 @@ function compressOldPages( $start = 0 ) { $old = $dbw->tableName( 'old' ); do { $end = $start + $chunksize; - $res = dbw->select( 'old', array( 'old_id','old_flags','old_namespace','old_title','old_text' ), + $res = $dbw->select( 'old', array( 'old_id','old_flags','old_namespace','old_title','old_text' ), "old_id>=$start", $fname, array( 'ORDER BY' => 'old_id', 'LIMIT' => $chunksize, 'FOR UPDATE' ) ); if( $dbw->numRows( $res ) == 0 ) { break;