From: Tim Starling Date: Wed, 27 Jul 2005 01:32:54 +0000 (+0000) Subject: profiling X-Git-Tag: 1.5.0beta4~18 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=79c63c1e0e611c8579a65067f17591ae7f6f8a21;p=lhc%2Fweb%2Fwiklou.git profiling --- diff --git a/includes/Database.php b/includes/Database.php index cb4632b1ab..b66e7178dc 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -1356,8 +1356,10 @@ class Database { $res = $this->doQuery( $sql ); if ( $res && $row = $this->fetchRow( $res ) ) { $this->freeResult( $res ); + wfProfileOut( $fname ); return $row[0]; } else { + wfProfileOut( $fname ); return false; } }