profiling
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 27 Jul 2005 01:32:54 +0000 (01:32 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 27 Jul 2005 01:32:54 +0000 (01:32 +0000)
includes/Database.php

index cb4632b..b66e717 100644 (file)
@@ -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;
                }
        }