Reworked profiler
This commit is contained in:
@ -84,7 +84,7 @@ class MySQLiStatement extends DbStatement
|
||||
*/
|
||||
$mysqli = $this->driver->getConnection();
|
||||
if (DEBUG) {
|
||||
$profiler = Profiler::getInstance()->profilerQuery($sql);
|
||||
$profiler = Profiler::getInstance()->profilerCommand('mysql', $sql);
|
||||
$result = $mysqli->query($sql);
|
||||
$profiler->end();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user