Merge pull request #3038 from igor-silverstripe/patch-1

minor debug text
This commit is contained in:
Sean Harvey 2014-04-16 12:08:06 +12:00
commit 1005593dba

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));
}
}
}