mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-06-28 15:39:36 +02:00
Merge b08cf4b4ba
into 7a3024d046
This commit is contained in:
commit
1d633a2ed0
|
@ -230,7 +230,7 @@ class PostgreSQLDatabase extends SS_Database {
|
||||||
$handle = pg_query($this->dbConn, $sql);
|
$handle = pg_query($this->dbConn, $sql);
|
||||||
|
|
||||||
if(isset($_REQUEST['showqueries'])) {
|
if(isset($_REQUEST['showqueries'])) {
|
||||||
$endtime = round(microtime(true) - $starttime * 1000, 1);
|
$endtime = round((microtime(true) - $starttime) * 1000, 1);
|
||||||
Debug::message("\n$sql\n{$endtime}ms\n", false);
|
Debug::message("\n$sql\n{$endtime}ms\n", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user