[TYPO3-core] RFC: t3lib_DB displays wrong SQL in error case
Ingmar Schlecht
ingmar at typo3.org
Wed Dec 19 13:22:37 CET 2007
Hi Franz,
thanks for your patch request.
Just one remark: Your RFC is missing the bugtracker reference.
See http://typo3.org/teams/core/core-mailinglist-rules/ for details.
cheers
Ingmar
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.
>
> - Franz
>
>
>
--
Ingmar Schlecht
TYPO3 Association Active Member
More information about the TYPO3-team-core
mailing list