[TYPO3-core] RFC: devLog in t3lib_db
dmitry at typo3.org
Fri Dec 1 12:44:13 CET 2006
This is SVN patch request
Branches: hope for both ;) (4_0 after 4.0.3!)
Problem: if invalid recordset is passed to t3lib_db::sql_* functions, it
may/will output PHP error message without any real information for
solving the problem.
Solution: add a simple check for recordset validity and report stack
trace to devLog if recordset is not valid. This allows to quickly
discover database problems (crashed tables, non-updated tables, etc)
even on a live site without visitors noticing anything.
This was discussed a little in the thread named "RFC: minor optimization
of getRecordRaw()" and I made a simple patch.
What do you think?
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the TYPO3-team-core