From: Aaron Schulz Date: Tue, 14 Apr 2009 14:42:50 +0000 (+0000) Subject: Log stream buffer fix X-Git-Tag: 1.31.0-rc.0~42145 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=765dfc88d5f2917dc18b931173d84083a4d56a97;p=lhc%2Fweb%2Fwiklou.git Log stream buffer fix --- diff --git a/includes/Export.php b/includes/Export.php index 909804cf9b..a991bcb504 100644 --- a/includes/Export.php +++ b/includes/Export.php @@ -197,10 +197,10 @@ class WikiExporter { array( 'ORDER BY' => 'log_id', 'USE INDEX' => array('logging' => 'PRIMARY') ) ); $wrapper = $this->db->resultObject( $result ); + $this->outputLogStream( $wrapper ); if( $this->buffer == WikiExporter::STREAM ) { $this->db->bufferResults( $prev ); } - $this->outputLogStream( $wrapper ); # For page dumps... } else { $tables = array( 'page', 'revision' );