[TYPO3-core] RFC: t3lib_DB displays wrong SQL in error case
Michael Stucki
michael at typo3.org
Fri Feb 1 20:23:48 CET 2008
Please move such issues into the bugtracker, so we won't loose track of it
any more...
- michael
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
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-team-core
mailing list