[TYPO3-core] RFC #9480: Bug/cleanup: Enhance debug information with SQL data
Francois Suter
fsuter at cobweb.ch
Fri Oct 3 22:10:35 CEST 2008
This is an SVN patch request.
Type: Bugfix / cleanup
Bugtracker references:
http://bugs.typo3.org/view.php?id=9480
Branches:
TYPO3_4-2 (if possible) and trunk
Problem:
Method t3lib_db::debug_check_recordset() outputs a backtrace to the
syslog and the devlog in case where a SQL query failed. The output to
the devlog could be more useful if it also contained the SQL query that
caused the problem as well as the related SQL error.
Solution:
Simply add this information to the extra arguments passed to
t3lib::devLog().
Notes:
I hope this can go into 4.2 too, as I consider this to be more of a bug
than a new feature.
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-team-core
mailing list