Skip to content
This repository
Browse code

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

minor debug text
  • Loading branch information...
commit 1005593dbac4ae84c80fda65e3bd57cb5f134548 2 parents 4c69d42 + f720b90
Sean Harvey authored April 16, 2014

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  model/MySQLDatabase.php
4  model/MySQLDatabase.php
@@ -143,7 +143,7 @@ public function query($sql, $errorLevel = E_USER_ERROR) {
143 143
 
144 144
 		if(isset($_REQUEST['showqueries']) && Director::isDev(true)) {
145 145
 			$endtime = round(microtime(true) - $starttime,4);
146  
-			Debug::message("\n$sql\n{$endtime}ms\n", false);
  146
+			Debug::message("\n$sql\n{$endtime}s\n", false);
147 147
 		}
148 148
 
149 149
 		if(!$handle && $errorLevel) {
@@ -1215,4 +1215,4 @@ protected function getLockIdentifier($name) {
1215 1215
 		// Prefix with database name
1216 1216
 		return Convert::raw2sql($this->database . '_' . Convert::raw2sql($name));
1217 1217
 	}
1218  
-}
  1218
+}

0 notes on commit 1005593

Please sign in to comment.
Something went wrong with that request. Please try again.