Bug #19362 ยป 9401_sqlDebug.diff
t3lib/class.t3lib_db.php (working copy) | ||
---|---|---|
$error = $this->sql_error();
|
||
if ($error) {
|
||
echo t3lib_div::view_array(array(
|
||
debug(array(
|
||
'caller' => 't3lib_DB::'.$func,
|
||
'ERROR' => $error,
|
||
'lastBuiltQuery' => ($query ? $query : $this->debug_lastBuiltQuery),
|
||
'debug_backtrace' => t3lib_div::debug_trail()
|
||
));
|
||
), 'sqlDebug');
|
||
}
|
||
}
|
||