mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
minor debug text
Seconds, not milliseconds. microtime(true) returns "a float, which represents the current time in seconds since the Unix epoch accurate to the nearest microsecond" as per php docs.
This commit is contained in:
parent
4c69d42bd2
commit
f720b9026b
@ -143,7 +143,7 @@ class MySQLDatabase extends SS_Database {
|
||||
|
||||
if(isset($_REQUEST['showqueries']) && Director::isDev(true)) {
|
||||
$endtime = round(microtime(true) - $starttime,4);
|
||||
Debug::message("\n$sql\n{$endtime}ms\n", false);
|
||||
Debug::message("\n$sql\n{$endtime}s\n", false);
|
||||
}
|
||||
|
||||
if(!$handle && $errorLevel) {
|
||||
|
Loading…
Reference in New Issue
Block a user