Skip to content

Commit

Permalink
Merge pull request #3038 from igor-silverstripe/patch-1
Browse files Browse the repository at this point in the history
minor debug text
  • Loading branch information
halkyon committed Apr 16, 2014
2 parents 4c69d42 + f720b90 commit 1005593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/MySQLDatabase.php
Expand Up @@ -143,7 +143,7 @@ public function query($sql, $errorLevel = E_USER_ERROR) {

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) {
Expand Down Expand Up @@ -1215,4 +1215,4 @@ protected function getLockIdentifier($name) {
// Prefix with database name
return Convert::raw2sql($this->database . '_' . Convert::raw2sql($name));
}
}
}

0 comments on commit 1005593

Please sign in to comment.