mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 15:05:45 +00:00
MINOR: reverted the showqueries fix
This commit is contained in:
parent
667eac707f
commit
d5915cd7d1
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user