[TYPO3-core] RFC: t3lib_DB displays wrong SQL in error case

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Fri Feb 1 18:28:41 CET 2008


Franz Holzinger schrieb:
> This is a SVN patch request.
> 
> Branches: trunk
> 
> Problem:
> If there is a SQL error due to an UPDATE query with empty field array,
> then an error message is displayed. However the last displayed SQL query
> is not the one which has caused the error. Therefore it is hard to find
> out what has went wrong.
> 
> Solution:
> Always build and store the SQL query and return an empty string if no
> field array has been provided. As a result the debug output will show
> the wrongly build SQL UPDATE statement.

REMINDER

Masi


More information about the TYPO3-team-core mailing list