mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #3038 from igor-silverstripe/patch-1
minor debug text
This commit is contained in:
commit
1005593dba
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user