Index: trunk/kernel/include/adodb/adodb.inc.php
===================================================================
diff -u -r857 -r859
--- trunk/kernel/include/adodb/adodb.inc.php (.../adodb.inc.php) (revision 857)
+++ trunk/kernel/include/adodb/adodb.inc.php (.../adodb.inc.php) (revision 859)
@@ -728,7 +728,7 @@
{
$isSkipTable = isSkipTable($sql);
$queryID = $debugger->generateID();
- if(!$isSkipTable) $debugger->profileStart('sql_'.$queryID, $debugger->highlightString($sql) );
+ if(!$isSkipTable) $debugger->profileStart('sql_'.$queryID, $debugger->formatSQL($sql) );
//$debugger->appendTrace();
}
$this->_queryID = $this->_query($sql,$inputarr,$arg3);
@@ -755,7 +755,7 @@
$errorLevel = defined('SQL_ERROR_DIE')&&SQL_ERROR_DIE ? E_USER_ERROR : E_USER_WARNING;
$debugger->dumpVars($_REQUEST);
$debugger->appendTrace();
- trigger_error(''.$m.' ('.$e.')
SQL: '.$debugger->highlightString($sql), $errorLevel);
+ trigger_error(''.$m.' ('.$e.')
SQL: '.$debugger->formatSQL($sql), $errorLevel);
ADOConnection::outp($e .': '. $m );
flush();