Project

General

Profile

Actions

Bug #19412

closed

Enhance debug information with SQL data

Added by Francois Suter about 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2008-10-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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 cause the problem as well as the SQL error.

The solution is simply to add this to the extra arguments passed to t3lib::devLog().

(issue imported from #M9480)


Files

bug9480.patch (728 Bytes) bug9480.patch Administrator Admin, 2008-10-03 22:06
Actions

Also available in: Atom PDF