From 79c63c1e0e611c8579a65067f17591ae7f6f8a21 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 27 Jul 2005 01:32:54 +0000 Subject: [PATCH] profiling --- includes/Database.php | 2 ++ 1 file changed, 2 insertions(+) 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; } } -- 2.20.1