r23384 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23383‎ | r23384 | r23385 >
Date:12:29, 25 June 2007
Author:robchurch
Status:old
Tags:
Comment:
Compact debugging output
Modified paths:
  • /branches/robchurch/reports/includes/reports/ReportPager.php (modified) (history)

Diff [purge]

Index: branches/robchurch/reports/includes/reports/ReportPager.php
@@ -64,6 +64,7 @@
6565 . ' WHERE ' . implode( ' AND ', $conds )
6666 . $this->report->getExtraSql( $this->mDb )
6767 . ' ' . implode( ' ', $options );
 68+ $sql = preg_replace( '!\s{2,}!ui', ' ', $sql );
6869 wfDebugLog( 'reports', __METHOD__ . " executing `{$sql}`" );
6970 $this->mResult = new ResultWrapper(
7071 $this->mDb,

Status & tagging log