From d5915cd7d1861c6c50604983cf3247b6a1eb5027 Mon Sep 17 00:00:00 2001 From: Geoff Munn Date: Fri, 3 Dec 2010 02:42:18 +0000 Subject: [PATCH] MINOR: reverted the showqueries fix --- code/PostgreSQLDatabase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/PostgreSQLDatabase.php b/code/PostgreSQLDatabase.php index 4850be2..b50c63b 100644 --- a/code/PostgreSQLDatabase.php +++ b/code/PostgreSQLDatabase.php @@ -221,7 +221,7 @@ class PostgreSQLDatabase extends SS_Database { $handle = pg_query($this->dbConn, $sql); if(isset($_REQUEST['showqueries'])) { - $endtime = round(microtime(true) - $starttime,4); + $endtime = round(microtime(true) - $starttime * 1000, 1); Debug::message("\n$sql\n{$endtime}ms\n", false); }