Index: trunk/kernel/include/adodb/adodb.inc.php =================================================================== diff -u -r3282 -r3576 --- trunk/kernel/include/adodb/adodb.inc.php (.../adodb.inc.php) (revision 3282) +++ trunk/kernel/include/adodb/adodb.inc.php (.../adodb.inc.php) (revision 3576) @@ -733,7 +733,10 @@ //$debugger->appendTrace(); } $this->_queryID = $this->_query($sql,$inputarr,$arg3); - if($profileSQLs && !$isSkipTable) $debugger->profileFinish('sql_'.$queryID); + if ($profileSQLs && !$isSkipTable) { + $debugger->profileFinish('sql_'.$queryID); + $debugger->profilerAddTotal('sql', 'sql_'.$queryID); + } /* Alexios Fakios notes that ErrorMsg() must be called before ErrorNo() for mssql because ErrorNo() calls Execute('SELECT @ERROR'), causing recure