Index: db_connection.php =================================================================== --- db_connection.php (revision 13203) +++ db_connection.php (working copy) @@ -498,6 +498,11 @@ // set 2nd checkpoint: begin if ($profileSQLs) { $first_cell = count($ret) == 1 && count(current($ret)) == 1 ? current(current($ret)) : null; + + if (strlen($first_cell) > 200) { + $first_cell = substr($first_cell, 0, 50) . ' ...'; + } + $debugger->profileFinish('sql_'.$queryID, null, null, $this->getAffectedRows(), $first_cell, $this->_queryCount, $this->nextQueryCachable); $debugger->profilerAddTotal('sql', 'sql_'.$queryID); $this->nextQueryCachable = false;