Index: trunk/kernel/include/adodb/adodb.inc.php =================================================================== diff -u -N -r965 -r1566 --- trunk/kernel/include/adodb/adodb.inc.php (.../adodb.inc.php) (revision 965) +++ trunk/kernel/include/adodb/adodb.inc.php (.../adodb.inc.php) (revision 1566) @@ -723,7 +723,7 @@ ADOConnection::outp( "=----\n($this->databaseType): ".($sqlTxt)." \n-----\n",false); flush(); - $profileSQLs = defined('SQL_PROFILE')&&(SQL_PROFILE==1); + $profileSQLs = defined('DBG_SQL_PROFILE')&&DBG_SQL_PROFILE; if($profileSQLs) { $isSkipTable = isSkipTable($sql); @@ -752,7 +752,7 @@ $e = $this->ErrorNo(); $m = $this->ErrorMsg(); - $errorLevel = defined('SQL_ERROR_DIE')&&SQL_ERROR_DIE ? E_USER_ERROR : E_USER_WARNING; + $errorLevel = defined('DBG_SQL_FAILURE')&&DBG_SQL_FAILURE ? E_USER_ERROR : E_USER_WARNING; $debugger->dumpVars($_REQUEST); $debugger->appendTrace();