[TYPO3-core] RFC: t3lib_DB displays wrong SQL in error case
Ingmar Schlecht
ingmar at typo3.org
Fri Feb 1 20:33:16 CET 2008
Michael Stucki schrieb:
> Please move such issues into the bugtracker, so we won't loose track of it
> any more...
He has already done that, see Franz' reply to my question.
cheers
Ingmar
> Martin Kutschker wrote:
>
>> 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
>
--
Ingmar Schlecht
TYPO3 Association Active Member
More information about the TYPO3-team-core
mailing list