showqueries output incorrectly shows "ms" instead of "s"

This commit is contained in:
Sean Harvey 2014-09-03 16:24:56 +12:00
parent 55de41b0d5
commit e93683bfca

View File

@ -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) {
@ -1215,4 +1215,4 @@ class MySQLDatabase extends SS_Database {
// Prefix with database name
return Convert::raw2sql($this->database . '_' . Convert::raw2sql($name));
}
}
}