Method info on profiler

This commit is contained in:
Anton Terekhov
2011-07-29 13:36:02 +04:00
parent 165bf08c09
commit 4c408292f2
2 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ class MySQLiStatement extends DbStatement
*/
$mysqli = $this->driver->getConnection();
if (DEBUG) {
$profiler = Profiler::getInstance()->profilerCommand('mysql', $sql);
$profiler = Profiler::getInstance()->profilerCommand('MySQL', $sql);
$result = $mysqli->query($sql);
$profiler->end();
} else {